- changed status to closed
Table.Random issues
Issue #14
closed
Using Mobtalker 0.3.3. Following code:
test = {"hi", "ho"};
rnd = Table.Random(test);
say "rnd: "..rnd;
Can output "nil" or "ho". The first element of the table seems to be returned as nil.
test = {"ho"};
rnd = Table.Random(test);
say "rnd: "..rnd;
Always outputs nil.
Comments (1)
-
- Log in to comment
Fix wrong offset in Table.random. Closes
#14→ <<cset 04593187fa93>>