Difference between revisions of "AMOSi:Parallel Input$"
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-8/Help_81.AMOS
Waits for a specific number of characters from the parallel port.
d=Parallel Input$(length)
Since the parallel port doesn't have an internal buffer area, your program will halt completely until the characters are successfully received. If the requested bytes haven't arrived after a reasonable amount of time, you'll get a time-out error.
d=Parallel Input$(length ,stop)
stop enters an optional a stop character which will end the transmission the moment it's recieved.