Friday, February 4, 2011
bio_edit function variables
In our morning class on Thursday February 3, 2011 we discussed the bio_edit function. Fardad explained what each variable represents and drew a diagram on the board. I created an image of that diagram using MS Paint below. Hopefully this diagram will be useful in understanding the variables and what they mean.
Variables:
- row - represents the rows of the screen for the field where 0 is the top row.
- col - represents the starting column of the field where 0 is the left most column.
- maxdatalen - contains the maximum length of the string (str).
- fieldlen - contains the length of the field where editing is to be performed
( visible area of str)
- *offset - points to an integer holding the index of the first character in the string (str).
- *curpos - points to an integer holding the position of the cursor.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment