> yes PRINT gives TRUE.
>
> why that?
i thought, i explained it already ;)
obtaining hExpression.Value and calling Eval() do the same, you will get 
the same result.
Print prints an expression, this is not limited to a string, even not 
limited to a variant, because you can print objects, too, but can't 
convert objects to strings.
if you assign the result of Eval() (or hExpression.Value) which is 
Variant to a string, gambas automatically converts the variant 
expression to a string.
so, it only matters what you do with the value. you Printed one and you 
assigned the other two a string. this resulted in the expression being 
printed (gives "True" in terminal) and one being converted to a string 
(gives the string "T").

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to