skip to main content

Library Routines : M$ALLOC

M$ALLOC
The M$ALLOC library routine dynamically allocates memory.
Syntax:
 CALL "M$ALLOC" USING memSize
Parameters:
Examples:
Example - Allocate 8 bytes of memory on each handle and put the words Hello World in them
call "m$alloc" using 8, mem1
call "m$alloc" using 8, mem2
call "m$put" using mem1, "Hello"81
call "m$put" using mem2, "World"81

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left