From: "Aneke & Jerome"
Subject: Dynamic memory allocation ... pointer ??
-----Message d'origine-----
De : Aneke & Jerome Mons*avoir
* : d83@ath.forthnet.gr
Date : mardi 3 f*vrier 1998 00:01
Objet : Re: Memory management and big array in PowerBASIC or QuickBASIC :
Help
:In fact i have to manage 2 BIG array in memory (process result of file
:database). I can not schedule the size will be used by the process for each
:array (result of process of input files). How to manage the memory ? I can
:not make a choice like 1/3 2/3 or 1/2 1/2 of the FULL availble memory to be
:divide for each array. for example : If i book and divide the FULL memory
:like 1/2 1/2 and if the first array is very small and the second become
very
:large i will be stop because of lack of memory in the second array and
waste
:memory for the first.
:
:In Pascal you can create a PTR variable, if you need a new one, just create
:by NEW ...
:
:I don't want to use Pascal ... I FEEL there is a solution to this problem
:... don't you
:
:Me to, i don't like to waste memory place for nothing, particulary in this
:case !!!
:
:thanks
:
:regard
:
:-----Message d'origine-----
:De : Don Schullian
:* : aneke and jerome
:Date : lundi 2 f*vrier 1998 16:14
:Objet : Re: Memory management and big array in PowerBASIC or QuickBASIC :
:Help
:
:
:On Mon, 2 Feb 1998 07:55:08 +0100, you wrote:
:
:>With PB 3.2 HUGE is not working !!
:
:Ok.. I generally try to avoid overloading memory so I'm not too familiar
:with
:HUGE but I understand what it does so send me the code and tell me EXACTLY
:what you're attempting to do... and I'll see what I can figure out.
:
:C'ya,
:
:
: ____ _ ____ ____ _____
:| _ \ / \ / ___) __ | ___)(_ _)
:| |_) / _ \ \____\/ \| _) | |
:|____//_/ \_\(____/\__/|_| |_|
: Reply to: d83@ath.forthnet.gr
: www.basicguru.com/schullian
:
:
:
*** QwkNews (tm) v2.1
* [TN71] Internet Newsgroup: alt.lang.powerbasic
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|