Open main menu

CDOT Wiki β

Changes

Assignment 1 (Fall 2013) Q & A

647 bytes added, 09:42, 23 September 2013
no edit summary
Q5: The curPosition parameter points to the "index of the character in the field at which the cursor is initially placed". Is this where the cursor position is placed before displaying the string or after? And if it is for before the string is displayed: is there a standard location the cursor should be sent after displaying the string? -- Justin
 
Q6: Is there supposed to be a second edit() function that accepts no parameters?
*Answer: No. there is only supposed to be one function that accepts parameters, there is no need for a non-value edit function. This section was misleading:
<pre>The edit() function always displays blanks in any part of the field that is not occupied by the string.
UNDER NO CIRCUMSTANCES DOES THE FUNCTION CHANGE ANY POSITION ON THE SCREEN OUTSIDE THE FIELD.
For example, the function does not display status information (such as "INS" or "OVR") elsewhere
on the screen, since such displays limit the programmer's ability to design their own screen layouts.</pre>