UP

The program sends data to the terminal using the SOK3 key. This key uses a co-routine protocol. SOK3 remembers a number called the output limit.

SOK3(0,data; ==> c;,,,SOK3) "Write in line mode"

SOK3(1,(2,mode),(2,limit_in),data_out ==>
c,(2,limit_out),data_in;,,,SOK3) "Write in specified mode"

SOK3(kt; ==> X'1A', (X'0102')) Alleged type

SOK3(kt+1) Signal EOF