gets

Returns a String character from the internal USART.

Requires: hardware.bas

Syntax: GetS(String, MaxLength, Flags)

String

Required.  The string to place the characters into

MaxLength

Required.  The maximum amount of characters the string is able to hold

Flags

Required.  0=No Echo   1=Echo the character back to the terminal

 Example: 

Dim s(20) As String
call GetS(s,19,1)

Notes:

When including hardware.bas into a project, it should be placed before any other source file in the project tree view.

Also See: getc, waitc