🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Aneke & Jerome Sat, 31 Jan 1998 00:00
Memory management and big array in PowerBASIC or QuickBASIC : Help
#737
Author: Aneke & Jerome
Date: Sat, 31 Jan 1998 00:00
11 lines
1142 bytes
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) ?

How to create pointer like in Pascal ?

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)
--
http://wwwperso.hol.fr/~jmonscav/
Re: Memory management and big array in PowerBASIC or QuickBASIC : Help
#738
Author: 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
Re: Memory management and big array in PowerBASIC or QuickBASIC : Help
#736
Author: Aneke & Jerome
Date: Mon, 02 Feb 1998 00:00
38 lines
2128 bytes
THANKS, i will try

Marc van den Dikkenberg a �crit dans le message
<34d6d3ec.8646239@news.xs4all.nl>...
>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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads