[haXe] New feature : Properties
Lee McColl-Sylvester
lee.mccoll at lyons-group.co.uk
Thu Apr 13 09:07:59 CEST 2006
Ahhh, I've been waiting for this for some time. There are times when
you want variable like access to objects that perform some sort of
function. Certainly, this is often true with building desktop apps
using Flash, as the OCX of the Flash player allows for limited access,
so executing functions by merely stating
Control.SetVariable("mySetter", myValues)
Is as good as calling a function, though a lot easier.
Lee
-----Original Message-----
From: haxe-bounces at lists.motion-twin.com
[mailto:haxe-bounces at lists.motion-twin.com] On Behalf Of Nicolas
Cannasse
Sent: 12 April 2006 19:08
To: haxe at lists.motion-twin.com
Subject: [haXe] New feature : Properties
Hi list,
I just finished to add a new feature to haXe called "properties" that
can be used to implement the following :
- readonly/writeonly fields
- getter/setters
See the doc here : http://haxe.org/ref#properties
You're welcome to play with it (after building CVS version) and suggest
standard API modifications for using this new feature.
Nicolas
--
haXe - an open source web programming language
http://haxe.org
More information about the Haxe
mailing list