Help with other code
Ken Ray
kray at sonsothunder.com
Fri Mar 11 09:00:14 EST 2005
On 3/11/05 4:15 AM, "graham samuel" <graham.samuel at wanadoo.fr> wrote:
> Kevin - one extra point. Although it may have worked in this particular
> case, it is generally not a good idea to give a variable a name which
> is a reserved word in Transcript. 'number' is certainly reserved, as in
>
> put the number of lines of myField into myTemp
>
> or whatever. It you do this, you will eventually get unexpected results
> (when Revolution can't work out from the context whether you mean to
> use a reserved word or not). Many people use a consistent naming style
> by introducing a one or two-letter prefix before every variable name. I
> believe Richard G has some clearer advice on this on his site.
Yes, it is a convention called "Hungarian Notation" that many of us that use
Revolution follow. You can find it along with a wealth of other guidelines
at Richard's site:
http://www.fourthworld.com/embassy/articles/scriptstyle.html
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list