CURRNUMALLOC
(ISTAT('CURRNUMALLOC'))
The CURRNUMALLOC parameter allows you to check the number of memory handles R:BASE for DOS has open. This returns 0 when used with R:BASE for Windows.