Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
19
Task/Input-loop/Action-/input-loop.action
Normal file
19
Task/Input-loop/Action-/input-loop.action
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
PROC ReadStream(BYTE stream)
|
||||
CHAR ARRAY line(255)
|
||||
|
||||
WHILE Eof(stream)=0
|
||||
DO
|
||||
InputSD(stream,line)
|
||||
PrintE(line)
|
||||
OD
|
||||
RETURN
|
||||
|
||||
PROC Main()
|
||||
BYTE streamId=[1]
|
||||
|
||||
Close(streamId)
|
||||
Open(streamId,"H6:INPUT_PU.ACT",4)
|
||||
PrintE("Reading from stream...") PutE()
|
||||
ReadStream(streamId)
|
||||
Close(streamId)
|
||||
RETURN
|
||||
Loading…
Add table
Add a link
Reference in a new issue