Added October 2016
? tab(-10, AG_WEBCACHE); op {,flags {,url}}; chr(127);
AG_WEBCACHE (108) gets/sets webcache options from host.
Parameters
op
0 to retrieve and 1 to set. On retrieval, the returned string will contain "flags,url" (current webcache flags and repo url).
flags
is a decimal number containing the WCDF_xxx flags
url
if specified, is the web directory for the repository.
Example
? tab(-10,AG_WEBCACHE);"1,";(WCDF_ENABLE or WCDF_ALL); ",http://www.myrepo.com/app1";chr(127); ! enable; set repo
? tab(-10,AG_WEBCACHE);"1,0";chr(127); ! disable
? tab(-10,AG_WEBCACHE);"0";chr(127); ! retrieve
? tab(-10,AG_WEBCACHE);chr(127); ! same (retrieve)
input line, response$ ! input flags,url
History
2016 October, A-Shell 6.3.1529 and 1531: WEBCACHE function added to A-Shell. The module includes a basic description, the SET.LIT options for WEBCACHE, new functions WEBRUN.LIT, MX_WEBCACHE.SBR and ? tab(-10, AG_WEBCACHE).