To type data on the screen, you must first use a statement that moves the cursor to where you want the data to be typed. Then use a KEY statement to type the data onto the screen. The data to be typed must be enclosed in quotes if it contains spaces or punctuation. For example, the following statement types the string "Good Morning":
KEY 'Good Morning'
You can type characters that cannot be typed on the keyboard by using hexadecimal codes as values for the string variable followed by the suffix X; for example, the following statement types the string "We love TPX!":
KEY 'E685409396A58540E3D7E75A'X
Note: When you use the X suffix, you must enclose the string in single quotes.
|
Copyright © 2013 CA.
All rights reserved.
|
|