Why isn't Rev more popular?

Ken Ray kray at sonsothunder.com
Fri Dec 2 15:06:35 EST 2005


On 12/2/05 12:06 PM, "Bill Marriott" <wjm at wjm.org> wrote:

> Well for reasons I may not be aware of, all the new commands seem to be in the
> format, "revDoSomething" followed by parameters. Example:
> 
>     revAddXMLNode treeID, parentPath, nodeName, nodeContents
> 
> the official example:
> 
>     revAddXMLNode 9,"/","Balls",""
> 
> Why couldn't you say something like
> 
>     add node "Balls" to the root path of XML tree id 9
> 
> I'm not saying that is the exact perfect syntax, nor is it "compact," but it
> would be super readable/self-documenting and easy to remember. That's what I
> love about the language, and this is what I mean about advancing TransScript.

The reason that the XML and SQL commands have different syntax is because
they are implemented as externals and are not part of the main interpreter's
language set. When they merge these into the main code base, I'm sure
they'll change the syntax accordingly.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list