/* Demonstrates a way to read serial chars with immediate response */ /* This scripts sends all data that is received within NComm */ /* to the current CLI window */ options results /* Turn on result codes */ do forever /* for (;;) */ address 'ncomm' wait /* Wait for anything, return current line */ if RC ~= 0 then exit /* Exit if user selected Quit NComm */ say result /* Write line to CLI window */ end