Hi
Thank you for your answers. Someone has tried to run my first code ? It works on your PC ?
Because, on my PC, it doesn't work. I'm under win8 with AppGameKit 108.21 (Perhaps it's a bug with the RAM (I have 2 Go)). When I run my first code, I have my two messages with "" (should be "3" and "99992356999999").
In fact, I think the bug is a problem with the len of the parameters in the array. If I make that :
dim test[19] as string=["3","99992356999999","999999999999","999999999999","99999999999999","999999999999999","999999999999","999999999999","999999999999","9999999999","9999999999","99999999999","49999999999","999999999999","99999999","999999999","9","9","9","9"]
It's ok, and works well
.
I have the good result (in the message()) :
test[0] = "3"
test[1] = "99992356999999"
etc...
But if I do :
dim test[19] as string=["3","99992356999999","999999999999","999999999999","99999999999999","999999999999999","999999999999","999999999999","999999999999","9999999999","9999999999","99999999999","49999999999","999999999999","99999999","999999999","999999999","999999999","999999999","999999999"]
It doesn't work no more. I have as result (in the message()) :
test[0] = ""
test[1] = ""
etc....
So I think, it's a bug with the len of the parameters between [].
I have tried all of your suggestions, but, it doesn't work:
dim test[19] as string
test[19]=[....]
or
dim test$[19]
test$[19]=[....]
or
dim test$[19]=[.....]
Don't work with BIG paramaters (example "99999999999999999999" and BIG arrays
To result this bug, I have to do that :
dim test[ 19 ] as string
txt$ = "3","99992356999999","999999999999","999999999999","99999999999999","999999999999999","999999999999","999999999999","999999999999","9999999999","9999999999","99999999999","49999999999","999999999999","99999999","999999999","999999999","9999999999","99999999999","9999999999"
for i = 0 to 18
test[i] = GetStringToken(txt$, ",", i+1)
next i
And it works.
http://www.dracaena-studio.com