Lingo Behaviour Initializer error

66 Views Asked by At

Unfortunately I'm still getting this error when I press play for this game. Though the game is working after I press the script button, this error persists coming up whenever I press play in Director 12. Do you know what the problem could be? I don't see any periods in the script. Thank you.

**Script Error: Incorrect behavior initializer. (Periods are not allowed in symbols)

[#pWordSource:, #pEndGameFrame: #next]**

The code is:

 on getPropertyDescriptionList me

   list = [:]

   -- the text member with the words in it

   addProp list, #pWordSource,\
 [#comment: "Word Source",\
 #format: #text,\
 #default: VOID]

 addProp list, #pEndGameFrame,\
 [#comment:"End Game Frame",\
 #format: #marker,\
 #default: #next])

   return list

 end
0

There are 0 best solutions below