CALL "M$FILL" USING destination value length |
destination | USAGE POINTER | Specifies the handle to the destination memory region. Note - compile with the -cp option if you need to share the memory with external C routines. |
value | PIC X | Specifies the value to be copied to destination. |
length | any numeric data item or numeric literal | Specifies the number of bytes to be copied. |
*> define mem1 usage pointer call "m$alloc" using 8, mem1 call "m$fill" using mem1, "A", 8 |