Auto-Allocation: When would I use it?
Auto-allocation is intended to make life easier for the programmer. It can be used for any “ordinary” variable storage. “Ordinary” means anything that’s not to used with PermStore, not part of the “Simplified semaphore scheme” and not used for ModBus or Xwire.
Auto-allocation can be particularly useful as an aid to creating libraries of useful program functions. Each function can be stored in a file of its own, and contain all its own RAM allocations (read: “variable declarations”). When you want to use the function you simply cut and paste the whole thing into your SPLat program. Note that if you attempt this, you will need a method of assigning variable names that avoids duplication between modules.