h6. [[OS SWI Calls]] h6(. » OS_ReadC h2. OS_ReadC h5. (SWI &04) |_<^{width:4em}. Entry | | |<^. - |<^. - | |_<^{width:4em}. Exit | | |/3<^. R0 |<^. ASCII (if C flag is 0), or | |<^. Error number (if C flag is 1), or| |<^. &1B = escape| h4. Use The purpose of this call is to read a character from the input stream. h4. Notes It waits to get the next character, i.e. you will only get the control back when, for example, a key is pressed. The source for the input stream can be read with [[OS_Byte 177]]. If cursor editing is enabled (see [[OS_Byte 4]]), then pressing a cursor keys will start cursor editing. h4. See also * [[OS_Byte 4]] * [[OS_Byte 177]]