Difference between revisions of "AMOSi:Port"
Spellcoder (talk | contribs) m (1 revision(s)) |
Spellcoder (talk | contribs) m (1 revision(s)) |
(No difference)
|
Latest revision as of 01:51, 17 November 2007
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).