- Joined
- Aug 2, 2006
- Messages
- 346
I have a function that I'm calling from an if statement.
if getScoreType() then...
the function getScoreType() returns a boolean value.
Whenever I try to save, it keeps telling me it is 'expecting a name'. (well I'm glad they were so specific...)
EDIT: Ah figured it out. getScoreType() was declared after it was called.
if getScoreType() then...
the function getScoreType() returns a boolean value.
Whenever I try to save, it keeps telling me it is 'expecting a name'. (well I'm glad they were so specific...)
EDIT: Ah figured it out. getScoreType() was declared after it was called.