AMOSi:Parallel Input$
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-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.