I have my RStyle set to split variables into separate lines. I find it easier to read if they are one per line in alphabetical order.
"Alastair Burr" <[EMAIL PROTECTED]> wrote: >And, I think, only one variable per line. > >Regards, >Alastair. > >----- Original Message ----- >From: "Walker, Buddy" <[EMAIL PROTECTED]> >To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> >Sent: Wednesday, January 29, 2003 6:46 PM >Subject: [RBASE-L] - RE: Problem within WHILE loop > > >J.M. > > �Even tho whileopt is off I would suggest setting all variables outside of >the while loop. > >Buddy > >-----Original Message----- >From: J.M. GRATIAS [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, January 29, 2003 1:17 PM >To: [EMAIL PROTECTED] >Subject: [RBASE-L] - Problem within WHILE loop > > > >Hi all, > >I have problems in codelocked RBW6.5 programs (1.862xRT03). > >One of these programs where writen with older version (1.842/1.851) and >were working OK with thoses version. >Now, it don't : >- in run mode (RUN myprog IN myprog.apx) >- in TRACE mode (TRA �myprog IN myprog.apx) where I use F5 to progress > >It works �in TRACE mode (TRA �myprog IN myprog.apx) where I use F10 to >progress (step by step). > >This is the structure of the program. > >WHILE #PI <> 0 THEN > � CHOOSE vchoix FROM #VALUES FOR ....... > � IF vchoix = '[Esc]' THEN > � � �BREAK > � ENDIF > � SWITCH (.vchoix) > > � CASE '1' > � � �Something ... > � BREAK > > � CASE '.....' > � BREAK > > � CASE '6' > � � �SET var vcaption = 'LOGINTRA. Installation des nomenclatures >officielles', + > � � �vdrive TEXT, vmulti TEXT, vINT INT > � � �CHOOSE vdrive FROM mdrive IN nc8.apx AT CENTER CENTER + > � � �TITLE 'Choisir l''unit� � utiliser (ou Echap)' + > � � �CAPTION .vcaption LINE 4 > � � �IF vdrive = '[Esc]' THEN > � � � � BREAK > � � �ENDIF > � BREAK > > � CASE '.....' > � BREAK > > � ENDSW > � -- R�ouverture DBCEE avant retour au menu > � DISC > � SET multi .vmulti > � CONN dbcee >ENDWHILE >RETURN > >$MENU >mdrive >POPUP >|#DRIVES| >ENDC > >Problem happen only when vchoix = 6 >When in RUN mode and TRA/F5, CHOOSE vdrive FROM mdrive ...... and all >following commands are skipped over >and control return directly to ENDSW > >WHILEOPT is set to OFF >Using W98SE >I tryed to recodelock with 1.862 : same problem >Same problem also with the same not codelocked �(RUN myprog) > >Have some changes has been made in WHILE loop optimisations ? > Any ideas ? > >TIA, > >J.M. GRATIAS, Logimatique > > -- Albert Berry Full Time Consultant to PSD Solutions 350 West Hubbard, Suite 210 Chicago, IL 60610 312-828-9253 Ext. 32 __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

