|
Some people do it to help them know that they are looking at a subroutine name while scanning down (or up) a column. I got into the bad habit myself. I call it a bad habit because IBM recommends that you not use special characters in names. It can cause problems if your code is put on a box with different national settings. In free format, a prefix is not necessary since you can always put the subroutine name one space after the EXSR, BEGSR, or ENDSR opcodes. Roger Mackie -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian Piotrowski Sent: Tuesday, November 08, 2005 11:18 AM To: rpg400-l@xxxxxxxxxxxx Subject: Subroutine Naming Conventions Hi All, I was reviewing some code from a previous programmer, and he prefaced all of his subroutines with a dollar sign (ie: $CTNO). What is the significance of the dollar sign? Thanks! Brian. -=-=-=-=-=-=-=-=-=-=-=-=-=- Brian Piotrowski Specialist - I.T. Simcoe Parts Service, Inc. PH: 705-435-7814 FX: 705-435-6746 -=-=-=-=-=-=-=-=-=-=-=-=-=- -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.