- Steam App
- Ozapell Basic (523410)
- Event type
- patch note
- Published
- 24 August 2017 - 22:41:33 UTC
- Source
- steam_community_announcements
In our continuing effort to make Ozapell Basic a stepping stone to programming with modern languages such as javaScript, we've added some new features found in the C family of languages (java, C++, javaScript, etc.). You can increment the value in a variable with ++ and decrement the value with --. Example: VAR=10 VAR++ PRINTLINE VAR VAR is assigned 10, incremented to 11 and then displayed. Example: VAR=10 VAR-- PRINTLINE VAR VAR is assigned 10, decremented to 9 and then displayed. CASE statements now pass through to the next CASE statement if no code is provided. Example: VAR=10 SWITCH VAR CASE 5 CASE 10 CASE 15 PRINTLINE "5, 10 OR 15" CASE 20 PRINTLINE "20" ENDSWITCH VAR is compared against the values in each CASE statement. Here the value is equal to 10 which causes the code under 5, 10 and 15 to execute. Have fun!