Also, includes are easy. Here's an example:
and in the main file (the file you run) file:
The location of the main and include files is:
c:\games\my new game\main.bb
c:\games\my new game\update.bb
c:\games\my new game\type.bb
; type.bb type a field b end type
; update.bb function updateGame() ; update here, baby end function
and in the main file (the file you run) file:
include "type.bb" include "update.bb" ; create a type a_new_type.a=new a a\b=25 updateGame() end
The location of the main and include files is:
c:\games\my new game\main.bb
c:\games\my new game\update.bb
c:\games\my new game\type.bb