[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2021-02-07T15:44:31-05:00 http://www.petesqbsite.com/phpBB3/app.php/feed/topic/14856 2021-02-07T15:44:31-05:00 2021-02-07T15:44:31-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=39054#p39054 <![CDATA[Re: Making QuickBasic 1.1 use less memory]]>
If you want to execute other DOS programs, after your QB program, you should use a .BAT file that calls your program, and after that calls the other one. If you want your QB program to send a message to the .BAT file, you can use something like:

DECLARE SUB ExitWithErrLvl ALIAS "_exit" (BYVAL errorlevel%)

(you need to have loaded QB.QLB)

Then you leave your program with something like:

ExitWithErrLvl 1

and in the .BAT file you put something like
IF ERRORLEVEL 1

Statistics: Posted by angros47 — Sun Feb 07, 2021 3:44 pm


]]>
2021-01-30T21:21:31-05:00 2021-01-30T21:21:31-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=39045#p39045 <![CDATA[Making QuickBasic 1.1 use less memory]]>
So anyways, I fire up QuickBasic 1.1 for MS-DOS 6.22 and I simply execute the SHELL instruction. then in the DOS shell, I execute this command:

Code:

mem /d/p
then I find entries for QuickBasic (as QBASIC), so I execute:

Code:

mem /m
And I got blown by the amount of memory that QuickBasic 1.1 used just to allow me to start a DOS shell. On my system, the amount of conventional memory reported to be used by QuickBasic was 286,672 (280K). That's almost half the entire conventional memory for a DOS system.

Is there a way I can execute QuickBasic where it uses much less memory while being able to execute commands?

Statistics: Posted by mikefromca — Sat Jan 30, 2021 9:21 pm


]]>