Page 1 of 1

The num of words of the LC Dictionary

Posted: Sat Aug 11, 2012 3:49 pm
by jmburnod
Hi All
For a french article about LiveCode, i need the numbers of words of the LC dictionary.
Does someone know it ?

Thanks

Jean-Marc

Re: The num of words of the LC Dictionary

Posted: Sat Aug 11, 2012 5:06 pm
by sturgis
Assuming you mean the number of commands/functions/properties listed in the dictionary rather than all words in all descriptions etc..

With "all" selected for the revdictionary stack executed this line in the msg box

put the number of lines of the dgtext of group "grid" of stack "revDictionary"

2217 (for lc 5.5.1)

So 2217 total lines. This would of course include synonyms so the real number would be a bit less than that.

Re: The num of words of the LC Dictionary

Posted: Sat Aug 11, 2012 5:41 pm
by dunbarx
Jean-Marc

You might also consider the datagrid commands, properties and functions. Even though these are not native, they are so much a part of the program that they ought to be.

Fooling around with the datagrid docs, it seems there are 131 total.

Craig Newman

Re: The num of words of the LC Dictionary

Posted: Sat Aug 11, 2012 6:51 pm
by jmburnod
Sturgis, dunbarx,

Thanks for you fast reply.
I will use this number to explain why that is not necessary to know all word of LC to begin programming like it is not necessary to know all about cook for cooking.

Best regards

Jean-Marc

Re: The num of words of the LC Dictionary

Posted: Sun Aug 12, 2012 2:56 am
by dunbarx
Jean-Marc

So important to make that clear. It would likely scare many away if it was perceived that most of the language had to be learned all at once. I have always worried about that,
going way back HC.

The large number of native words is what gives LC its enormous power, but that is a two edged sword, as you say.

I wonder what an LC "light", like ("Scrabble for kids") would required as a working vocabulary. 100? Gotta have "put".

Craig Newman