Page 1 of 1
is there a reserved words funtion ?
Posted: Mon Aug 01, 2011 5:21 pm
by jmburnod
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
Re: is there a reserved words funtion ?
Posted: Mon Aug 01, 2011 6:05 pm
by Mark
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
Re: is there a reserved words funtion ?
Posted: Mon Aug 01, 2011 7:01 pm
by jmburnod
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
Re: is there a reserved words funtion ?
Posted: Mon Aug 01, 2011 7:32 pm
by dunbarx
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
Re: is there a reserved words funtion ?
Posted: Mon Aug 01, 2011 10:38 pm
by jmburnod
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