How to use malloc or free in ROBOTC?

Seems the ROBOTC doesn’t have the definitions for malloc or something else to dynamically allocate memory or to free them, are there any other solutions?

ROBOTC does not support dynamic memory management. Some students have implemented their own, for example