Page 1 of 1

[SOLVED] Naming conventions

Posted: Fri Jan 16, 2015 6:02 pm
by anmldr
Just starting in the Create it with LiveCode course although I have been occasionally playing around with LiveCode for about 2 years.

What naming conventions do some of you use for variables, parameters, etc. For example, using "g" as the first letter of a global variable?

I want to start the course and my use of LiveCode in using commonly recognized and used naming conventions. I realize that this is not necessary but I would like to start out with good habits.

Thanks,
Linda

Re: Naming conventions

Posted: Fri Jan 16, 2015 6:23 pm
by mattmaier
This post addresses it.
http://forums.livecode.com/viewtopic.php?f=7&t=5265
The meat of my suggestion would be to read this article.
http://www.fourthworld.com/embassy/arti ... style.html

Re: Naming conventions

Posted: Fri Jan 16, 2015 6:25 pm
by SparkOut
A great place to find details about these scripting styles and conventions is here http://www.fourthworld.com/embassy/arti ... style.html


Oops, simulpost. Almost. Same link though :)

Re: Naming conventions

Posted: Fri Jan 16, 2015 6:29 pm
by jmburnod
Oops, simulpost. Almost. Same link though
Me too :D

Re: Naming conventions

Posted: Fri Jan 16, 2015 10:40 pm
by anmldr
Great! Thanks.