Transcript and Dot Notation
Mark Smith
mark at maseurope.net
Fri Feb 24 20:27:55 EST 2006
Well maybe one could 'see' an objects functions as properties, like
in Eiffel, or at least in my dim understanding of it.
get the sqrt(9) of mathsObject
Mark
On 24 Feb 2006, at 22:25, Peter T. Evensen wrote:
> At 03:58 PM 2/24/2006, Andre Garzia wrote:
>> So why can't we do transcript-ish things like:
>>
>> set the stopColor of TrafficLight to red
>>
>> set the interval of TrafficLight to 20 secs
>
> Would there be any reason to distinguish between custom properties
> and a object property? If not, I see the above working.
>
>> and call methods like
>>
>> send "go" to traffic light...
>
> That works for methods, but how about functions?
>
> I have never liked the current transcript syntax of Value
> ("GetCurrentColor()", TrafficLight). TrafficLight.GetColor() is
> much more readable, in my opinion.
>
> Peter T. Evensen
> http://www.PetersRoadToHealth.com
> 314-629-5248 or 888-628-4588
> _______________________________________________
> 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