qbasicking
Programmer
Getting out of memory errors, but yor computer doesn't have EMS, XMS, or you just don't know how to use them?
This is a cheat trick that I just thought of, I am not sure if it is great, but I can't see of a reason it wouldn't work.
This can only be done in a multitasking OS
use this code
'$DYNAMIC
DIM array(16383)
OPEN "mem.tmp" FOR RANDOM AS #1
PUT #1,1,VARSEG(array)
PUT #1,2,VARPTR(array)
CLOSE
WHILE INKEY$ = "":WEND
KILL "mem.tmp"
'now leave this program running as you run another qbasic program, you can use array() but POKEing and PEEKing to it, since the information you need to access it is in "mem.tmp" - presto: 64 extra kilobytes!
"You idiots, teacher was trying to teach you to be great artists, but you've only learned to be great mimics"
-Unknown taoist artist
Originality is the key to greatness
This is a cheat trick that I just thought of, I am not sure if it is great, but I can't see of a reason it wouldn't work.
This can only be done in a multitasking OS
use this code
'$DYNAMIC
DIM array(16383)
OPEN "mem.tmp" FOR RANDOM AS #1
PUT #1,1,VARSEG(array)
PUT #1,2,VARPTR(array)
CLOSE
WHILE INKEY$ = "":WEND
KILL "mem.tmp"
'now leave this program running as you run another qbasic program, you can use array() but POKEing and PEEKing to it, since the information you need to access it is in "mem.tmp" - presto: 64 extra kilobytes!
"You idiots, teacher was trying to teach you to be great artists, but you've only learned to be great mimics"
-Unknown taoist artist
Originality is the key to greatness