Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

New mainline update for Orbis BASIC 32X: v5.0.30 adds structured SUB / CALL support.

This is intentionally simple and close to classic BASIC / machine-code-style control flow. CALL Name maps directly onto the existing GOSUB mechanism, and END SUB maps to RETURN

New supported forms:

SUB DrawHud
   LOCATE 1,1
   PRINT "HUD"
END SUB  
CALL DrawHud 

Also supported in this version:

IF condition THEN CALL Name 
ON expr CALL Name1, Name2, Name3 

So you can now organize larger programs into named routines while keeping the direct BASIC-to-Metal mapping philosophy intact.