I discovered a funny bug in the code parser... If I write: DIM s AS Integer s = Int(Rnd(0, 10)) MOD 3
I get: Type mystmatch: wanted integer, got float instead. But Int() should return an integer... But if I write: DIM s AS Integer s = Int(Rnd(0, 10)) s = s MOD 3 the code is executed without problems :-) -- Leonardo Miliani Web: http://www.leonardomiliani.com E-mail: leona...@leonardomiliani.com Scegli software opensource - Choose opensource software Co-fondatore di Gambas-it.org Il sito di riferimento della comunità italiana degli utenti di Gambas http://www.gambas-it.org ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user