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 / Nested Functions Syntax?

Author
Message
SupaCoolDud
7
Years of Service
User Offline
Joined: 14th Apr 2016
Location:
Posted: 30th May 2016 07:55
Do nested functions exist in AppGameKit and if so, what is the proper syntax?
BatVink
Moderator
20
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 30th May 2016 10:21
You can use gosub inside a function, but not a function inside a function.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
blink0k
Moderator
10
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 31st May 2016 04:23
you can add a separate .agc file to your project (and put your functions in that) if you just want to collect like functions in the one place

Login to post a reply

Server time is: 2023-06-05 05:05:34
Your offset time is: 2023-06-05 05:05:34