Try not to use dim arrays to hold file variables. difficult to diag.
Keep label and variable names to 14 chars and under for universe's xrefer
Avoid ever 'falling' into a label
Never branch around stuff
Sometimes its nice to comment CASE statements
 CASE LEN(ID) LE 5 ;* its a phone number
..


On 9/27/05, Fawaz Ashraff <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> We are planning to train some of our new programmers
> to use good programming practices when using U2 Basic.
> I can remember in Unidata days us having some tech
> support documents that talked about this. Example such
> as when is the best time to use CASE instead IF & ELSE
> or not to use GOTO statments.
>
> I am sure some of you may have some input in this
> topic. If you have some documents, notes or thoughts
> on this, can you please share with us?
>
> When I get all the technical tips, I can compile this
> to a document and share with our new programmers as
> well as U2 listserver community.
>
> Thanks
>
> Mohamed
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to