Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / String in an array !

Author
Message
Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 15th Jun 2022 10:34 Edited at: 15th Jun 2022 10:36
Hello people !!

I have a problem with arrays and strings .
Here are some snippets of my code :



variable ' name$ 'does not save in array
to note that

works well !


doesn't work either
bug in the matrix ?
I do what i do !!!
Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 15th Jun 2022 12:25
I managed to work around the problem :


hoping the bug will be fixed

thank you !
I do what i do !!!
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 15th Jun 2022 12:58
Not a bug, your code is incorrect. Call GetNextFile() at the end of your WHILE loop. Basically, you're calling for next file after it's run out of files and assigning it to the same array index, thus it's empty.


Tiled TMX Importer V.2
XML Parser V.2
Base64 Encoder/Decoder
Purple Token - Free online hi-score database
Legend of Zelda

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds

Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 15th Jun 2022 13:56
AAAh, yes !!
Thanx you !

bury me with this post, thanks!
I do what i do !!!

Login to post a reply

Server time is: 2024-11-21 12:47:00
Your offset time is: 2024-11-21 12:47:00