AMOSi:Port
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
an example can be found on AMOSPro_Examples:Examples/H-6/Help_67.AMOS
Tests a port you've previous initialised with OPEN PORT, and sees if it's waiting for you to read it.
test=PORT(channel number)
You'll get a value of True (-1) if there's some data ready, otherwise False (0).