hi,
i've been playing around with Eval() for some days, i read that it 
evaluates only expressions so i understand that DIMs raise "unexpected 
DIM" but what about SHELL and EXEC which also raise "unexpected ..." 
what is the difference between
Eval("hProcVar = SHELL \"zenity --info --text hello\" WAIT", hVarCollection)
and
Eval("iIntVar = 5 * 6", hVarCollection)?
I think both are assignments to variables and thus expressions? (The 
same with DIM Var AS Integer = 7 but which I think just tells to make 
room for a variable and initialises it so isn't an expression, right?)
I found nothing else in gb.eval Expression class than "You can use 
almost any Gambas subroutines and operators."
What are the criteria of a gambas expression?

best regards,
tobi

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to