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.

Newcomers AppGameKit Corner / Fold doesn't restart at end of function? Help?

Author
Message
Golelorn
1
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 12th Mar 2018 00:30 Edited at: 12th Mar 2018 00:31
Not sure what is causing this. I have never seen this happen. The code compiles without error, so its not a missing endif, etc.

Attachments

Login to view attachments
blink0k
AGK Developer
5
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 12th Mar 2018 00:32
Does it collapse correctly?
Golelorn
1
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 12th Mar 2018 00:37
No. It does not. It collapses everything remaining. Which is about 200 lines.
Golelorn
1
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 12th Mar 2018 00:38
I've tried adding a foldend and a foldstart and foldend. Doesn't help.
Golelorn
1
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 12th Mar 2018 00:42 Edited at: 12th Mar 2018 00:45
It was missing the next q.... interesting that it compiled. But it still won't collapse correctly lol

omg I was on my test build and not on the main build... lololol
PSY
Valued Member
1
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 19th Mar 2018 19:54
sounds familiar


PSY LABS Games
Coders don't die, they just gosub without return
Phaelax
DBPro Master
15
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th Mar 2018 16:28
I just saw this post and instantly saw the error in the FOR statement. I tend to look at those cause I always see people either using the wrong variable or no variable at all after NEXT. Works regardless because I don't think it uses that variable for anything other than the programmer to mark which loop it belongs to.
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

Login to post a reply

Server time is: 2018-06-24 21:12:26
Your offset time is: 2018-06-24 21:12:26