Dennis,

Here is what I have been using since Hypercard in the late 80's, augmented now for Revolution:
(and see some further comments at the end)
Robert.


------------------------------------------------------------
Naming conventions

Identifiers start with a capital and each word in the name also has a capital.
There may be a prefix letter, which then is lower case:

c constant
f formal parameter
g global variable
i index (loops, arrays)
l local variable
n number of things
p custom property
h label field (heading)

The use of these prefix letters significantly reduces the number of different names to be invented by allowing meaningful variants on a base name. For example, the base name Line could be used in fLines (formal parameter), lLines (local work copy), iLine (index into fLines or lLines), nLines (the number of lines in fLines) and so on.

Transcript does not allow procedure nesting. Handlers that should be nested get names prefixed with that of the handler they should be in.


You can read more on
http://robert.cailliau.free.fr/ByLetter/C/Computing/ComputerScience/NamingConventions.html
which is longer and more pedantic.

Robert.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to