Get fillGradient props

Erik Beugelaar ebeugelaar at gmail.com
Fri Jul 8 00:40:28 EDT 2016


According Richard's scripting guide the use of 'c' is used for objects containing behavior scripts to denote their special use as a sort of class definition as it is commonly done in lower-level languages.

Regards,
Erik


Sent from solidit

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding
Sent: vrijdag 8 juli 2016 04:19
To: How to use LiveCode <use-livecode at lists.runrev.com>
Subject: Re: Get fillGradient props


> On 8 Jul 2016, at 10:00 AM, Alex Tweedly <alex at tweedly.net> wrote:
> 
> What do you use for handler-local variables ?

`t` for temporary. I believe we fairly closely follow Richard’s scripting style guide http://fourthworld.com/embassy/articles/scriptstyle.html#Variables

However the team does use `c` instead of `u` for custom properties. I’m not sure why there’s that variance but I vaguely recall a previous version of the style guide recommended `c` so we may continue to use it for historical reasons… That would be back in the dark ages of the Revolution 1.0 beta. When a wee little Kevin and his mates had a vision ;-)

Cheers

Monte

> 
> Thanks
> 
> Alex
> 
> On 07/07/2016 23:16, Monte Goulding wrote:
>>> On 8 Jul 2016, at 7:52 AM, Scott Rossi <scott at tactilemedia.com> wrote:
>>> 
>>> I've always thought lowercase "L" is a poor choice to prefix a 
>>> variable name.  Is it an L? It is a capital i? Is it a pipe?
>> For what it’s worth we use `s` in the team for script locals. There are some older scripts like libURL that use some other prefixing conventions.
>> 
>> Cheers
>> 
>> Monte
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list