Open main menu

CDOT Wiki β

Changes

Project R0.1 20131- OOP344

330 bytes added, 13:17, 31 January 2013
Help
*Can someone help me uderstand these two underlined requirements. Thanks a lot for your help!!
*:1. Your function does not allow the cursor to move before the start of the field or past the end of the field. <u>If the field ends at the right edge of the screen, your function does not allow the cursor to the right of that edge</u>.
**I think this means that: if the last position of the field is at getCols(), you cannot allow the cursor position to go beyond that. Remember xMOVER? how it console.alarm()'s when you try to go past getCols()? Its basically saying that, the cursor MUST stay within the field. -fjzhou*:2. END - moves the cursor to the position to the right of the last character in the string, changing the offset, if necessary. <u>If the last character is at the edge of the screen, moves the cursor to that at character.</u>**Same thing as the previous question? -fjzhou
==Help Needed==