Subject: | |
From: | |
Reply To: | |
Date: | Thu, 9 Nov 1995 12:21:00 PST |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Dan,
GetHeap and RtnHeap are both documented in the Pascal/3000 reference
manual (Compatibility mode).
They allocate space from the DL-DB area and are NOT compatible the DLSIZE
intrinsic (i.e. Don't mix DLSIZE with these calls in the same program).
The have the same parameters: logical pointer, integer, logical. All 16 bit
by reference:
Parm1 is pointer to region to be allocated or freed
Parm2 is size requested/returns actual size allocated or freed
Parm3 is status (must be 0 on input and returns non-zero if the function
wasn't completely successful)
Manual status you must free the same amount of memory you allocated, not a
part of it. Can't be used in BASIC/3000.
Rich
________ Dynamic Information Systems Corp. |
\!DISC / Rich Trapp | My opinions are my own.
\ / OMNIDEX Product Manager - IMAGE/SQL | With any luck they're
\ / Phone : 303 444-4000 | correct ;-)
\/ E-mail: [log in to unmask] |
----------------------------------------------------------------------
----------
>From: Dan Hollis
>To: Multiple recipients of list HP3000-L
>Subject: GetHeap and RtnHeap?
>Date: Thursday, November 09, 1995 10:18
>
>Does anyone have information on how to use the undocumented Intrinsics
>GetHeap and RtnHeap? And why are they undocumented?
>
>We have some legacy SPL code which uses them, but it's not at all obvious
>what exactly is going on. Does GetHeap really allocate a 'heap' in SPL? How
>does this Intrinsic actually work?
>
>-Dan
>.----------------------------------------------.
>|Dan Hollis -- Pharmacy Computer Services, Inc.|
>[log in to unmask] - (503)476-3139|
>`----------------------------------------------'
>
|
|
|