is there a reserved words funtion ?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

is there a reserved words funtion ?

Post by jmburnod » Mon Aug 01, 2011 5:21 pm

Hi All,

I look for a "cleaning script" it should build a list of handlers of the script and get the localisation (cd script, bg script, stack script ...) of each handler.
Is there a way to make difference between my handlers and reserved words of LC ?

I found nothing in the doc

Best fom Geneva Beach

Jean-Marc
https://alternatic.ch

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: is there a reserved words funtion ?

Post by Mark » Mon Aug 01, 2011 6:05 pm

Jean-Marc,

Search the dictionary for "names". You'll get a list of all kinds of interesting functions such as cipherNames, colorNames, functionNames, propertyNames etc. Many of the words in these lists are reserved words.

Then again, I can do this:

Code: Select all

on mouseUp
     explicitVariables
end mouseUp

on explicitVariables
     beep
end explicitVariables
Which doesn't really make sense but shows that LiveCode is quite flexible.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: is there a reserved words funtion ?

Post by jmburnod » Mon Aug 01, 2011 7:01 pm

Hi Mark,
And thank one more
Ok, i see for commandnames and functionnames but i found nothing about an equivalent of messagenames
Best
Jean-Marc
https://alternatic.ch

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10330
Joined: Wed May 06, 2009 2:28 pm

Re: is there a reserved words funtion ?

Post by dunbarx » Mon Aug 01, 2011 7:32 pm

If you go to the dictionary and select "Message" (under "Language"), without anything placed in the search field, you will get a list of all LC messages.

Craig Newman

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: is there a reserved words funtion ?

Post by jmburnod » Mon Aug 01, 2011 10:38 pm

Hi Craig,
If you go to the dictionary and select "Message" (under "Language"), without anything placed in the search field, you will get a list of all LC messages.
Yes,but i can't copy it and this list exists somewhere.

Best

Jean-Marc
https://alternatic.ch

Post Reply