correct, i=5.2998088236266e-315
I found this by doing something like:
i=1
stateTable = { .... }
and then having it bomb when trying to access stateTable[i]
If I do a i=tonumber("1"), I actually get i=1
The strange thing is this only appears (AFAIK) to be in literal assignments. For instance, if I use a literal number in a function, or in a table such as:
status = {
ok = 1,
error = 2,
...
}
it also initializes fine.
I need to check next week to see how it was compiled into the system (don't have it with me here).
Mike