commandNames
Jeanne A. E. DeVoto
revolution at jaedworks.com
Mon Mar 30 02:39:10 EDT 2009
At 12:44 PM -0700 3/29/2009, Richmond Mathewson wrote:
>dunbarx wrote:
>
>"And "commandNames" is a function."
>
>indeed.
>
>However it shows up on:
>
>put the functionNames into fld "fFUNX"
>
>the problem concerns 2 word functions, commands, properties, and so on.
As far as the engine is concerned, there is no such thing as a
two-word command (or function, property name, etc). The parser keys
off the first word of the command.
The docs sometimes separate out different forms of a function for
clarity. (For example, "answer" and "answer file" are very different,
and there is almost no overlap in what has to be documented about
them, so it would make no sense to dump both onto the same
documentation page.) But convenience of looking things up in
documentation doesn't affect what the engine sees as a command - and
the commandNames reports on the engine's view of the matter. ;-)
--
Jeanne A. E. DeVoto, Transcript Language Curmudgeon
revolution at jaedworks.com
http://www.jaedworks.com
More information about the use-livecode
mailing list