This little piece does the same as the first code.
`Monster builder
`===============
`set ups
backdrop on
`set sync on for the this application to handle screen refreshing with the "sync" command
sync on
`set refresh rate
sync rate 60
create bitmap 2,128,128
current_ui$ = "main"
dim file_list$(100)
file_list$(1) = "Bot"
file_list$(2) = "Squid"
file_list$(3) = "Rat"
do
rem call function name current_ui$
y = 0
for t = 1 to 3
text 90,y,file_list$(t)
inc y,10
next t
sync
loop
function main()
endfunction
How does DBP get weird? The long version of the code needs that line to run properly. It tells the program which UI is active, or rather which part of the program is active, I just call them UI's
The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...