Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: JudgeDeadd on Wed 23/08/2006 09:46:44

Title: Undefined token
Post by: JudgeDeadd on Wed 23/08/2006 09:46:44
QuoteTherw as an error compiling your script. The problem was:
in 'Global script'

Error (line 206): Undefined token 'gavecrayons'

How to fix it?
Title: Re: Undefined token
Post by: Ashen on Wed 23/08/2006 10:27:26
By defining gavecrayons?
'undefined token' errors mean you've tried to use something (int, String, function, whatever) that hasn't been declared - do you have a line in the global script that says int gavecrayons;? Make sure it's BEFORE line 206, and that the spelling and capitalisation are the same.