The criteria I use for constants is to make development easier by having only one point of change, and make reading the code much easier by replacing numbers with meaningful text.
Example of the first is say the maximum number of characters which is used in loops through out the code
#CONSTANT MaxCharacter 6
FOR Lp=1 TO MaxCharacters
An example of the second is making things like images have their number replaced by text
#CONSTANT CancelButtonImage 1
#CONSTANT SaveExitButtonImage 2
#CONSTANT NextButtonImage 3
PASTE IMAGE CancelButton 10,10
This makes debugging and reading the code much easier.
Jas
----
"What is this talk of 'release'? Klingons do not'release' software. It escapes leaving a bloody trail of developers and quality assurance people in its wake!"