Please enable JavaScript to view this site.

A-Shell Reference

Reviewed and revised December 2023

tab(-10, AG_CHKPCNET); chr(127)     Tab(-10,x) Syntax Notes

AG_CHKPCNET (74) allows you to detect the state of the ATE-connected PC'S internet connectivity from the server.

This function has both a subroutine and a print tab implementation.

Parameters

none

Response

flags <CR>

Comments

The return flags can be captured into a B,2 variable. Unlike the MX_CHKPCNET version where the status and returned flags are separate, here they are combined, with the status in the upper byte and the flags in the lower. They can be split back out as follows:

status = flags / 65536

flags = flags and &hffff

 

See MX_CHKPCNET for definitions of status and flags.