Author Topic: Problems with 'break' command  (Read 853 times)

0 Members and 1 Guest are viewing this topic.

Offline gumby

Problems with 'break' command
« 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)
 


In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition


SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.088 seconds with 23 queries.