Open main menu

CDOT Wiki β

Changes

Oop344 20102 - iof functions

103 bytes added, 20:18, 8 June 2010
Line Editor: int iof_edit(........): added a link to graphical view of iof_function variables
int '''*curpos''', int '''IsTextEditor''', int '''ReadOnly''')</big>
[[Oop344 20102 - iof edit function variables|'''iof_edit function variables - graphical view''']]<br />[[Presentation of variable| Presentation of variable]] <br />
<br />
Allows the user to perform full screen editing of the null-terminated string pointed to by '''"str"'''. The parameter '''"row"''' identifies the row of the screen for the field (0 is the top row), while '''"col"''' indicates the starting column of the field (0 is the left-most column). The parameter '''"maxdatalen"''' specifies the maximum length of the string'''"str"'''. The parameter '''"fieldlen"''' specifies the length of the field in which editing is to be performed (visible area of '''“str”'''). The pointer '''"offset"''' points to an integer, holding the index of the first character of'''"str"''', shown in the field. The pointer'''"curpos"''' points to an integer holding the position of the cursor in the field (0 is the first position). '''"insertmode"''' is a pointer pointing to an integer flag, that is true (1) for insert mode being on, or false (0) for insert mode being off.<br />
1
edit