home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
trl14db.zip
/
TRLPRG.EXE
/
ALLOCATE.PRG
next >
Wrap
Text File
|
1990-10-22
|
516b
|
20 lines
***********
* ALLOCATE.PRG
* by Tom Rettig and Leonard Zerman
* Placed in the Public Domain by Tom Rettig Associates, 10/22/1990.
*
* SYNTAX: DO ALLOCATE WITH <bytes>
* RETURN: <expC> 8-byte hex address of segment and offset. NULL <expC>
* if memory cannot be allocated.
***********
PARAMETERS par1
CALL Trpass WITH par1
CALL Trexe WITH "ALLOCATE"
CALL Trexe WITH "TRRETCLEN"
IF fox
PRIVATE tr_temp
tr_temp = SUBSTR(tr_retc,1,tr_retn)
RETURN (tr_temp)
ENDIF
* eof allocate *