Developer Annoyance #1
aturban at qwest.net
Fri Mar 17 03:09:36 EST 2006
The problem with this solution is that varA and varB are not evaluated.
In order to use your syntax it would need to be:
send "calc" && varA & comma & varB to btn "source"
send merge( "calc [[varA]], [[varB]]" ) to btn "source"
I find both inelegant readability wise. I think there is a great burden
on language developers to create a language that goes as far as it can
toward self-documentation. I feel that the message passing mechanisms
are a sore spot in transcript. I do not understand why Rev would be
unable to parse my proposed syntax.
Thank you for your suggestion, however!
Andre Garzia wrote:
> can't you make it a Handler use send and check for the result???
> send "calc VarA, VarB" to btn "source"
> put the result into localResult
> of course calc is not a function but a handler with a return statement.
> On Mar 17, 2006, at 2:55 AM, Jim Ault wrote:
>>> I'm not sure that this is the right direction for any language to be
>>> headed. Please explain why we can't have the following syntax:
>>> put calc(varA,varB) of btn "source" into localResult
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode