> 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
>
> th
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 pr