Community

SCI Programming => SCI Syntax Help => Topic started by: gumby on September 07, 2014, 11:31:02 AM

Title: Problems with 'break' command
Post by: gumby on September 07, 2014, 11:31:02 AM
Found another issue, this time effecting both Studio and Companion.  Apparently, neither will allow the use of a break statement in a do/while loop at compile time.  Note that in just a normal while loop, the break command works just fine:

Code: [Select]
   // this works
   (while(== 1 1)
       Print("While loop")
       break
   )

   // this does not
   (do
       Print("Do/While loop")
       break
   )while(== 1 1)