Code: Select all
' setup buffer for structure
' set offsets
ABSOLUTE var1%,adr% !long
ABSOLUTE var2&,adr%+4 !word
ABSOLUTE var3|,adr%+6 !byte
' variables now reside at the address we defined
' verify contents of structure
' dumps 1,2,3 in the console
FatRakoon wrote:First Basic ( comes with the ST )
Power Basic ( Nice and powerful, does most things )
HiSoft Basic ( extremely powerful, and can be built upon by using Libraries written in Assembly to write incredibly fast code )
Extremely close to QBasic on the PC, in fact I am sure that apart from the Machine specific things like GEM etc, the core of it is pretty much identical.
We used HiSoft Basic and QBasic when we were developing some networking apps in Uni, and we found that apart from the odd command, it was pretty much portable either way.
Users browsing this forum: No registered users and 3 guests