switch

James Spencer jspencer78 at mac.com
Sat Mar 18 23:10:23 EST 2006


On Mar 18, 2006, at 9:39 PM, John Tregea wrote:

> Hi,
>
> Just a question regarding the form many of you use for naming  
> variables. I see a lot of variable names starting with 't' and  
> wondered what it indicates. I use 'g' as a prefix for my global  
> variables but that is all.
>
> John (Ready to say "Duh"...) T

See http://www.fourthworld.com/embassy/articles/scriptstyle.html for  
a good set of guidelines which answer, among other things, your  
question but the short answer:

t = temporary or local variable
p = parameter
k = constant
s = static (or script local in xTalk)

James P. Spencer
Rochester, MN

jspencer78 at mac.com

"Badges??  We don't need no stinkin badges!"




More information about the use-livecode mailing list