[Gambas-user] New feature in /trunk
David Villalobos Cambronero
david_villalobos_c at ...43...
Wed May 27 16:22:45 CEST 2009
Got this error compiling new rev at Mandriva 2009.1 32Bits
debug.c: In function 'command_eval':
debug.c:726: error: too few arguments to function 'EVAL.Compile'
make[5]: *** [debug.lo] Error 1
make[5]: se sale del directorio `/home/david/Gambas3/main/lib/debug'
Saludos
--
David
----- Original Message ----
From: Benoît Minisini <gambas at ...1...>
To: gambas-user at lists.sourceforge.net
Sent: Tuesday, May 26, 2009 4:55:04 PM
Subject: [Gambas-user] New feature in /trunk
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
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list