The num of words of the LC Dictionary

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:

The num of words of the LC Dictionary

Post by jmburnod » Sat Aug 11, 2012 3:49 pm

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
https://alternatic.ch

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: The num of words of the LC Dictionary

Post by sturgis » Sat Aug 11, 2012 5:06 pm

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.

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

Re: The num of words of the LC Dictionary

Post by dunbarx » Sat Aug 11, 2012 5:41 pm

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

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

Re: The num of words of the LC Dictionary

Post by jmburnod » Sat Aug 11, 2012 6:51 pm

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
https://alternatic.ch

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

Re: The num of words of the LC Dictionary

Post by dunbarx » Sun Aug 12, 2012 2:56 am

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

Post Reply