Q53: INFO: Compile error: 'Nested functions not supported'Article last updated: 10 July 2002 The information in this article applies to:- Adventure Game Studio v2.2 and later versions
- Operating System: Editor
PROBLEM
When compiling your game, you get an error message reading:
Compile error (line X): Nested functions not supported
CAUSE
This error message is almost always caused by having a missing closing brace } in your script. It will likely be in the function before the one which the error occurs at.
Scroll up the script a bit, and make sure that the function above has matching { ... } pairs.
List all articles - Edit this article (admin only)
|