SourcePoint AMD Help

Table of Contents

getc

Read a character from the Command window.

Syntax

[result =] getc()

Where:

result

specifies a debug variable to which the function return value is assigned. If result is not specified, the return value is displayed on the next line of the screen.

Discussion

The getc function reads a character from the Command window. The character is the return value of the function. getchar is an alias for getc.

Example

Command input:

define ord1 ch
ch = getc() ย ย ย ย ย ย ย // wait for key

ch

Result:

6BH 'k'

Related Topics: