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
[SOLVED] Naming conventions
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
[SOLVED] Naming conventions
Last edited by anmldr on Fri Jan 16, 2015 10:41 pm, edited 1 time in total.
Re: Naming conventions
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
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
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
Oops, simulpost. Almost. Same link though
Last edited by SparkOut on Fri Jan 16, 2015 6:33 pm, edited 1 time in total.