Please enable JavaScript to view this site.

A-Shell Development History

Four new optional arguments and syntax.

XCALL GETPRG, prgnam {,sbxnam {,svr'prgnam {,svr'prgver {,prgdir {,sbxdir}}}}}

Parameter

Type

I/O

Description

svr'prgnam

String, 10+

out

applies only to subroutines running in the ATE client context (e.g. launched via AG_XFUNC); it returns the name of the program currently running on the server. Otherwise it will return a null string.

svr'prgver

String, 13+

out

also only applies to the ATE client context, returning the version of the program currently running on the server. Example format: 1.2A(345)

prgdir

String, 18+

out

returns the device:[p,pn] where the program (prgnam) was loaded from. Example format: DSK22:[123,456]. If the program was loaded directly from memory, it will return a null string.

sbxdir

String, 18+

out

same as prgdir, but for the last called SBX.