xcall MIAMEX, MX_MEMORY, newsizk, status
This function allows you to change the size of your user memory partition on the fly.
Parameters
newsizk
is the desired new size (in Kilobyte units, e.g. 1024 = 1024K).
status (F,6)
will be set to 0 if successful.