Please enable JavaScript to view this site.

A-Shell Development History

AG_FILESTATS (31) has been enhanced to optionally return version and hash strings, per MX_FILESTATS. New syntax:

? TAB(-10, AG_FILESTATS); fspec{, versiz{, hashsiz}}; chr(127);

and the return string is of the format

bytes, mtime, ctime, mode {,ver {hash}}

versiz and hashsiz are numeric values representing the size of the strings you intend to retrieve them into. If 0 or not specified, then the corresponding field will not be returned. Set versiz=30 to get the #####.#####.#####.#####.##### format (see MX_FILESTATS).

Note that MX_FILESTATS is generally use in preference to AG_FILESTATS, because it is easier to use (standard XCALL return values), and works in all the same cases (including ATE), with the one exception that it requires A-Shell on the server. AG_FILESTATS could be used on any kind of server.