Page 1 of 1

Complete list of livecode commands

Posted: Sat Jul 06, 2019 9:36 am
by TorstenHolmer
Hi,

I am looking for a simple text list which contains all current Livecode commands.

Can someone provide a link?

Kind regards
Torsten

Re: Complete list of livecode commands

Posted: Sat Jul 06, 2019 10:04 am
by Klaus
Hi Torsten,

you could start with:

Code: Select all

...
put "Commands" & CR & the commandnames & CR & CR & "Functions" & CR & the functionnames into fld "my list of LC commands and functions"
...
Remember, this is not C(++, minusminus, sharp, flat, subjective, objective, rejective or whatever)! :-)


Best

Klaus

Re: Complete list of livecode commands

Posted: Sat Jul 06, 2019 10:44 am
by TorstenHolmer
Perfect!

Thanks a lot :D
Torsten

Random keywords for learning

Posted: Sat Jul 06, 2019 11:40 am
by TorstenHolmer
Here is my intention: I wanted to have a random pick of the livecode commands and functions in order to learn more about unexplored areas. This line beams you to a random keyword in the english livecode wiki:

Code: Select all

launch url ("https://livecode.fandom.com/wiki/" & line random(the number of lines in (the commandnames & cr & the functionnames)) of (the commandnames & cr & the functionnames) )
  
:D

Re: Complete list of livecode commands

Posted: Sat Jul 06, 2019 11:49 am
by Klaus
Good idea!

You can have it a bit shorter:

Code: Select all

...
launch url ("https://livecode.fandom.com/wiki/" & any line of (the commandnames & cr & the functionnames))
...
:D

However the WIKI entries are obvioulsy mixed upper and lower case and the comandnames etc. are all lowercase! :-/
So:
https://livecode.fandom.com/wiki/listregistry -> Article Listregistry was not found
But:
https://livecode.fandom.com/wiki/ListRegistry -> works

Unfortunate decision of the WIKI maker(s)...

Any is great!

Posted: Sat Jul 06, 2019 9:17 pm
by TorstenHolmer
Thanks for this tip, Klaus!

The problem with the names is that there is not one way of writing theses words: the Livecode dictionairy also says "listRegistry" the function says "listregistry".

I asked the wiki host, if there is a way of still accepting lowercase pagenames. I am waiting for reply, maybe it will work.

Otherwise you just have to click once more because the wiki offers the link to the intended page directly on the answer page.