Page 1 of 1

Compiling QBASIC AFTER BLOAD

Posted: Tue Apr 26, 2005 2:30 am
by MONNA
I have a reject trying to compile a file where I put some pictures on screen.
It works well before compilation but launching compilation, I first had a reject at the level of the DIM instruction but released it by tuning the bytes values:
DIM BLB%(32765) that looks to b e accepted
and now it is a new reject "not enough user's memory"
and the compiler gives 42248 free octets and warnings
0030 and 0002
To what could this be due? My computer (old and may be having not enough memory)?The compiler with an arrow points to the word SCREEN .Is it a screen memory issue? What is this memory?What is its limit? How to know or calculate it?
The screen used is SCREEN 12.

Re: Compiling QBASIC AFTER BLOAD

Posted: Tue Apr 26, 2005 7:03 am
by lurah-
MONNA wrote: DIM BLB%(32765) that looks to b e accepted
You dont have ram left for compiler anymore.

BLOAD

Posted: Tue Apr 26, 2005 7:56 am
by Monna
Thought the total memory available was 64000 and something.
Do you mean that the difference ( the 42 248 unused) is not enough for the compiler?If so what can be done?

Posted: Tue Apr 26, 2005 9:48 am
by MystikShadows
you might want to try this and see if it helps

'$DYNAMIC
DIM BLB%()

' later before you need to, initialize the array
REDIM BLB%(32765)

This will create the array on the heap instead of the 64Kb data segment. should free you up more space..

let me know

BLOAD Etc

Posted: Wed Apr 27, 2005 2:15 am
by MONNA
To MYSTIKSHADOWS:
It works with the DYNAMIC option.
SUPER!