From: <bko...@ma...> - 2002-09-24 12:28:20
|
Number 1 makes sense. Without the closing quote mark, the token continues until the end of the file. What behavior were you expecting? I have always created a screen of literals in WORKING-STORAGE rather than using a DISPLAY <literal> format. There are a few reasons for this: i) depending on the screen size (ROWxCOL) one can pretty easily lay out the screen so that it is easily viewable in WORKING-STORAGE as what you expect to see on the screen after the DISPLAY [an early wysiwyg :)]; ii) reusability, you may find a use for different parts of the screen at some later point; iii) maintainability, just easier for me to maintain my ewysiwyg. -----Original Message----- From: Hudson Reis [mailto:hud...@so...] Sent: Tuesday, September 24, 2002 2:02 AM To: Lista SourceForge Subject: [Tiny-cobol-users] Bugs in DISPLAY Hi all, I've had problems in DISPLAY verb. 1. Using a DISPLAY verb with literals, if the string isn't terminated(if the double quotes are opened and don't closed), the scanner shows the following message: "scanner token too large". If the string need be continued in other line and don't have the I/O screen statements(as line/position statement), the scanner shows the same message above. Example programs: disp02.cob, disp03.cob |