Richmond-

Saturday, July 10, 2010, 5:10:33 AM, you wrote:

> I think this is great and we really out to carry on this htread with as
> many poeple submitting their
> naming conventions as possible; we might then be able to abstract some
> sort of commonality
> which would allow us to develop a more standardised naming convention
> for RunRev.

Saturday, July 10, 2010, 4:20:26 AM, Damien Girard wrote:

Personnally I am using this naming convention:
- first letter in lowercase, then Uppercase for the first letter of each
word.

- tMyVariable -> Variable available in the handler
- sMyVariable -> Variable available in the script (local)
- gMyVariable -> Global variable (global)
- kMyVariable -> Constant (constant)
- cMyVariable -> Variable that contain custom properties
- pMyParameter -> Parameter

I use all these with the exception of switching

 - uMyVariable ->  User-defined custom property

(Silly me - I'm reserving "c" for "class", expecting that someday
we'll have real OOP in xtalk)

Saturday, July 10, 2010, 4:52:33 AM, René Micout wrote:

Prefix of 3 chars for objects : button, field, group, slider, label, image, 
graphic

---- btn = bouton
---- fld = field
---- grp = groupe
---- sld = slider
---- lbl = label
---- img = image
---- grc = graphic

I also use all these and

---- ary = array

-- 
-Mark Wieder
 [email protected]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to