Hear Hear!!! <shameless plug for Accuterm's WED> WED can assign colors to different parts of your source code. Commands like GOSUB, RETURN, OPEN, LOOP etc I've got set to red. Comments are in Green, Text is in purple, labels are in blue and everything else is in black.
The colors change as you type so that if you type "GOSUB 100" and it's still purple, there's an unclosed text string earlier on that line. Add built-in formatting and you can see if the code is missing a matched END/NEXT/REPEAT. </shameless plug for Accuterm's WED> Thanks Mark Johnson ----- Original Message ----- From: "Boydell, Stuart" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, April 07, 2007 9:37 AM Subject: RE: [U2] [UD] Dynamic variable. Kids, Don't try this at home!!! > >They actually did use reserved words in their EQUATES, where Universe did not > do this sort of > >replacement, and the target environment behaves like Unidata, causing some > >code (not an awful amount) to fail compilation. Another lesson here - > >don't use words that even look like they should be reserved as variables. > > > ...And that's also why one of the best arguments for using a syntax > highlighting editor is that you know right away when the code is using a > reserved word somewhere it shouldn't. It's sometimes surprising where these > little things pop up. > Personally I always think it's a good idea to use 'E.' in front of local > (non-included) equates. > > > > ********************************************************************** > This email message and any files transmitted with it are confidential and > intended solely for the use of addressed recipient(s). If you have received > this communication in error, please reply to this e-mail to notify the sender > of its incorrect delivery and then delete it and your reply. It is your > responsibility to check this email and any attachments for viruses and defects > before opening or sending them on. Spotless collects information about you to > provide and market our services. For information about use, disclosure and > access, see our privacy policy at http://www.spotless.com.au > Please consider our environment before printing this email. > ********************************************************************** > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
