http://gambaswiki.org/bugtracker/edit?object=BUG.1076&from=L21haW4- Comment #1 by Benoît MINISINI: It seems the Rand() function is not supported by the JIT compiler. As a workaround, you can use the Rnd() function with Int().