Initializing and uninitializing MEMPTR variables
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
After declaring a MEMPTR variable,
you must initialize it before you can use it. In general, to initialize
a MEMPTR variable, you use the SET-SIZE statement
to allocate a region of memory and associate it with the variable.
Note: You can also allocate the memory region for
a
MEMPTR variable using a shared library routine.
In this case, you must still use the SET-SIZE statement
to initialize the size of the returned memory region in ABL.