Please enable JavaScript to view this site.

A-Shell Development History

Compiler and runtime enhancement adds the new statements:

XPUTARGSBX <argno>,<expr>

XGETARGSBX <argno>,<expr>

XPUTARGSBX acts just like XPUTARG except that it references <argno> in the current SBX context, even if it occurs inside a function or procedure. PUTARG continues to act as before, referencing the function or procedure argument if inside a function or procedure, else the SBX argument if not.

Note that using XPUTARGSBX in a program will set the "5.1 extensions" flag in the header, which will can be seen by VERSYS, and which will cause a runtime error in versions of A-Shell prior to 1160, but it will not provide any warning in versions 1160-1172. In those versions, the runtime system will generate an illegal syntax code when hitting such a statement.