McIDAS-X User's Guide
Version 2023.1
[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]
Submits a McIDAS command to be run.
The exit status from the KEYIN command is placed in a pseudovariable named STATUS. A nonzero value usually indicates failure of the command.
LET A$="KMSN"
LET T= 6
KEYIN "SFCLIST ";A$;" ";T
IF STATUS < > 0 PRINT "Something
went wrong"
This example runs the command SFCLIST KMSN 6. If the command fails, the message Something went wrong is displayed.
[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]