Updates: Status: Fixed Comment #5 on issue 94 by benoit.m... at ...626...: A For-statement can store an Integer in a Byte/Short. http://code.google.com/p/gambas/issues/detail?id=94 Fixed in revision #4068.