skip to main content

Library Routines : M$GET

M$GET
The M$GET library routine copies the content of a memory region previously allocated with the M$ALLOC library routine to a data item.
Syntax:
 CALL "M$GET" USING memAddress
Parameters:
Examples:
Example - Allocate 8 bytes of memory, put a value in it and then query the value putting it into a pic x(8) variable
call "m$alloc" using 8, mem1
call "m$put" using mem1, "Hello", 8, 1
call "m$get" using mem1, str1, 8, 1

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