Open main menu

CDOT Wiki β

Changes

Oop344 20102 - iof functions

101 bytes added, 14:38, 9 June 2010
Line Editor: int iof_edit(........): directly added graphical view of iof_function variables on page
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 />
<table align="center">
<tr align="center">
<td>[[Image:iof_edit_variables.png|||]]</td>
</tr>
<tr align="center">
<td>[[Image:iof_edit_variables_spec.png|||]]</td>
</tr>
</table>
 
<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