Cicode Programming Reference > Cicode Function Categories > Keyboard Functions Introduction > KeyPutStr

KeyPutStr

Puts a string at the end of the key command line. The string can contain either key names or data characters. If this string completes any command, that command will execute.

Syntax

KeyPutStr(String)

String:

The string to put into the key command line.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

KeyPut

Example

KeyPutStr("START ABC");
! Places "START ABC" at the end of the key command line.
KeyPutStr("TURN PUMP 1 ON");
! Places "TURN PUMP 1 ON" at the end of the key command line.

See Also

Keyboard Functions