🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #738

Re: Memory management and big array in PowerBASIC or QuickBASIC : Help

#738
From: Marc van den Dikkenberg
Date: Sun, 01 Feb 1998 00:00
32 lines
2133 bytes
On Sat, 31 Jan 1998 19:09:59 +0100, "Aneke & Jerome"
<anje.monscavoir@hol.fr> 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
Technical Details
Message-ID: <34d6d3ec.8646239@news.xs4all.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6b008i$s1g$1@news4.isdnet.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10c949,f4d4516f02c23c49
X-Google-Attributes: gid10c949,public
X-Google-Thread: fec0a,f4d4516f02c23c49
X-Google-Attributes: gidfec0a,public
X-Google-Thread: 10ab99,f4d4516f02c23c49
X-Google-Attributes: gid10ab99,public
X-Google-Thread: f7646,f4d4516f02c23c49
X-Google-Attributes: gidf7646,public
From: pb@excelsior.xs4all.nl.REMOVE-THIS (Marc van den Dikkenberg)
Subject: Re: Memory management and big array in PowerBASIC or QuickBASIC : Help
Date: 1998/02/01
Message-ID: <34d6d3ec.8646239@news.xs4all.nl>
X-Deja-AN: 320983008
Content-Transfer-Encoding: 8bit
References: <6b008i$s1g$1@news4.isdnet.net>
Mime-Version: 1.0
Reply-To: pb@excelsior.xs4all.nl.REMOVE-THIS
X-XS4ALL-Date: Sun, 01 Feb 1998 02:52:36 CET
Content-Type: text/plain; charset=ISO-8859-1
Organization: XS4ALL, networking for the masses
Newsgroups: alt.lang.basic,alt.lang.powerbasic,comp.lang.basic.misc,fr.comp.lang.basic