EasyManua.ls Logo

Kollmorgen AKD Basic

Kollmorgen AKD Basic
506 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AKD BASIC User Guide | 5 AKD BASIC Functions
5.10 INKEY$()
General Information
Type Function
Description
Returns a 1 character string corresponding to the character in the serial port
receive buffer. If there is no character waiting the INKEY$ will be the Null string
(""). If several characters are pending only the first one is returned.
Syntax
x$ = INKEY$
Instructions
Assigning a string from INKEY$ removes the character from the serial port's receive buffer.
Example
' remove all characters from the receive buffer
and put them into A$.
'--------------------------------------
new$ = INKEY$
While new$ <> ""
A$ = A$ + new$
new$ = INKEY$
Wend
73 Kollmorgen | March 30, 2012

Table of Contents

Related product manuals