Hi,
I just added a new feature in the development version: the Assign() function.
It is like Eval(), except that the expression can be an assignment. It returns
the assigned value.
For example:
Dim hCtrl As Control ' Any control
Assign("a.Text = \"Hello\"", ["a": hCtrl])
will assign the "Hello" string to the Text property of hCtrl.
At the moment, you cannot something like:
Assign("a.x = NEW Timer")
Assign("a.y = OPEN \"file\")
But this is planned.
Enjoy it!
--
Benoît
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user