AMOSi:Port

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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).