Comments (1)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

1 prino commented Permalink

This extension of the ALLOCATE function is very useful if you are working with list or tree structures. Normally these would have to be FREE'd bottom to top, and care must be taken not to miss out parts. <div>&nbsp;</div> By actually allocating them inside an AREA variable, the whole list/tree can be removed using a single AREA = EMPTY(); statement, which translates (cannot test this due to a back-level version of the compiler) to a single MVC instruction initializing the 16-byte AREA header.