using reserved words??

saulochina

  • Posts: 214
for my game to run i started to delete every behavior and test my game till it compiles. so i discovered that some custom event with "when (mute) happens" was impeding my game to compile. i don't know  if this is a reserved word, but when i created a "when (switch) happens" event it doesn't compile either. One suggestion that i have for the future is that if we use a reserved word the errored sign appears on the block with a tip so we can change things.
Finding the fun!
Squib Wars. Now complete, and avaible for free on App Store! http://bit.ly/LxJ62L
https://www.facebook.com/twoheadedgames
Twitter: @saulochina
MSN: sauloj.china@hotmail.com

Jon

  • *
  • Posts: 17524
switch is a common keyword in most programming languages.

captaincomic

  • *
  • Posts: 6108
It should no longer be a problem to use reserved word (the generated code has a prefix now to prevent name conflicts.)