From: Fernando W. - I. S. I. Ltda.
<fer...@in...> - 2007-01-02 13:05:15
|
Hi David Hi Harold In 2006, Rildo Pragana correct a lot of bugs in the ACCEPT/DISPLAY verbs. He did the necessary changes, but didn't upload the sources to SourceForge CVS. I have this and other changes here and I will do the upload on next week, but, before this, I need verify with David when I can do this, considering that it also is changing the TC source code. In December/2006, more one brazilian developer was joined to the project. His name is Nilo Paim and he is a great guy. He work with COBOL since 1978 and C since 1984. He who will make upload for the CVS. Welcome Nilo and thanks for your help! David, I will write soon for you, OK? Bye! Fernando Wuthstrack InfoCont Sistemas Integrados Ltda. Diretor Fone: (47) 3422-3536 ----- Original Message ----- From: "David Essex" <de...@us...> To: "tiny-cobol-users" <tin...@li...> Sent: Monday, January 01, 2007 8:36 PM Subject: Re: [Tiny-cobol-users] changes in accept using ncurses/screenssection > Harold Norris wrote: > >> Is there any way to modify the compiler so it > > doesn't initialize a PIC X variable with spaces. > > After a quick look at the code, it appears that the SCREEN and LINE/POS > methods are coded differently. > > With the LINE/POS method if you use the 'UPDATE' attribute, the contents > of variable are displayed, otherwise the screen locations are blanked. > > I'm not sure that this inconsistent behavior between SCREEN and LINE/POS > methods is a good approach. Maybe the code was not finished. > > Anyway, I think I found a way to fix your problem. > Following your example. > ... > 01 INPUT-NUMBER PIC X(14) JUST RIGHT. > ... > MOVE ... TO INPUT-NUMBER > ACCEPT INPUT-NUMBER AT line 1 position 2 UPDATE > > All you have to do is use either groups or a combination of moves, and > your desired effect can be achieved. > See example in 'test.code/t26'. > > I still don't think leaving the contents on the screen from a previous > 'ACCEPT/DISPLAY', when the new fields are using the same screen > location, is correct behavior. > So I will not change this behavior. > > Hope this helps. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Tin...@li... > https://lists.sourceforge.net/lists/listinfo/tiny-cobol-users |