From: pb@excelsior.xs4all.nl.REMOVE-THIS (Marc van den Dikkenberg)
Subject: Re: Memory management and big array in PowerBASIC or QuickBASIC :
Help
On Sat, 31 Jan 1998 19:09:59 +0100, "Aneke & Jerome"
wrote:
>How to create an array or a chain pointer list more over the 640 Ko or 1 Mo
>DOS limit ?
>How to create * very big array (dim more than 33000) ?
The recent versions of PB allow you to dimension an array as HUGE (using
base memory) or VIRTUAL (using EMS), allowing you to create large arrays.
(up to millions of handles, so 33000 is no problem)
If you use a VIRTUAL array, the data will be stored above the 1 MB DOS
limit. You have to load EMM386 for EMS, though.
Or...
Check out the ABC packets at http://www.xs4all.nl/~excel/pbabc.html
There are a lot of sources in there that will allow you to access EMS or
XMS memory from QuickBasic or PowerBasic.
(As well as over a thousand other sources)
>How to create pointer like in Pascal ?
PB 3.2+ has build in support of pointers.
>In fact i want to create dynamic data list. I can not predict the number of
>data i have to store (incoming from COM port and can not be store to disk)
--
Marc van den Dikkenberg
-----------------------
The PowerBasic Archives
http://www.xs4all.nl/~excel/pb.html
*** QwkNews (tm) v2.1
* [TN71] Internet Newsgroup: alt.lang.powerbasic
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|