From: <bko...@ma...> - 2002-10-08 14:04:47
|
I don't have an example right to hand, but imagine something like this. 01 WS-TELA-01. 03 WS-T01-LINHA-01 PIC X(40) VALUE "Esta e a prima linha da tela". 03 WS-T01-LINHA-02 PIC X(40) VALUE "Aqui pode continuar na Segunda linha". ... 03 WS-T01-LINHA-12 PIC X(40) VALUE "a ultima linha de uma tela 40x12". -----Original Message----- From: Hudson Reis [mailto:hud...@so...] Sent: Tuesday, October 08, 2002 9:13 AM To: tin...@li... Cc: Boris Kortiak Subject: Re: [Tiny-cobol-users] Bugs in DISPLAY Hi Boris, > Number 1 makes sense. Without the closing quote mark, the token continues > until the end of the file. What behavior were you expecting? I expect the compiler should be a error, but this message "scanner token to large" is very strange to the user. > 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. Well, I think good your way to use a screen. If it doesn't bother you, could you send me a simple example? Thanks Hudson |