spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links

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)