the := operator (affectation
Dennis Brown
see3d at writeme.com
Thu Jun 23 13:17:49 EDT 2005
Here is an answer that everyone might like:
The "get x" construct is already a syntactic equivalent of "it=
x" (left assignment).
That could be expanded to the general form "it gets x".
Now we have a general xTalk flavored version using the new "gets"
keyword.
From there just substitute any shortcut for "gets" like "gts" or "=".
There you have it. Elegance, consistency, and brevity!
Dennis
On Jun 23, 2005, at 12:53 PM, Richard Gaskin wrote:
> Marielle Lange wrote:
>
>>> OTH, allowing ``a=4'' as a shorthand for ``put 4 into a'' harms
>>>
>> <nobody, and meets with the expediency criterion; just don't require
>>
>>> it.
>>>
>> Hi John,
>> I do often write myVar = x. But I like the fact that there is a
>> different logic
>> for properties and variables.
>> set the width to 100
>> put 100 into myVar
>> You would loose this with the x = 4 syntax.
>>
>
> Since it would be optional as it is in other xTalks, nothing would
> be lost.
>
> --
> Richard Gaskin
> Fourth World Media Corporation
> ___________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list