Doriano Blengino schrieb: > Rolf-Werner Eilert ha scritto: >> Maske.Index = CInt(wert[0] - 1) >>
> I would write: > > Maske.Index = CInt(wert[0]) - 1 Aaaargh - ok :-) You're right. This way it runs flawlessly of course. > Maske.Index = wert[0] - 1 > > > To let this last line work, gambas should understand that the whole > expression to the right of the "=" should be an integer, and convert the No, it doesn't, same error message. Anyway, it does run as above, now I just don't understand why it went in Gambas1 as it was actually wrong... Thank you! Rolf ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user