x \ y doesn't take floats (x / y however does), and exponent will return float instead of integer. Not sure this is what Benoit intended. I would expect automatic conversion, though that might lead to hidden unexpected behaviour which is worse.
This should work: Print 16 \ cint(2 ^ 3) Jussi ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user