auto (symbols)[,size[,<alignment>]]
<alignment> := EVEN | ODD
auto (unit,format),1 auto (aq),2,even auto buff,20
AUTO is used to give symbol names to offsets into the stack for the function to keep its auto variables. It is permissible to use several AUTO macro calls. AUTO should not be used to reserve space for function arguments; the ARGDEF macro should be used instead.
The AUTO macro does not set up a B vector. A size specified in the AUTO macro just reserves space. If a B vector is desired, a pointer to the remaining elements must still be placed in the first element by your program. Also make sure that sufficient space is reserved; one extra word will be needed to store the pointer to the rest of the vector, and a second extra word to compensate for B's allocating n+1 words when n are asked for.
* auto local,4 local set .aut .aut set .aut+4 .lcl set .aut+S.LENG .lcl set .lcl/2*2 ARG.1 set .lcl+1 ARG.2 set .lcl+2 ... ARG.5 set .lcl+5
Copyright © 1996, Thinkage Ltd.