Rexx - ask 命令
该命令用于从默认输入流中读取一行。
语法
variable = ask
参数
Variable − 用于存储用户输入的值的变量。
返回值
None
示例
/* 主程序 */ input = ask say input
输出
当我们运行上面的程序时,我们将得到以下结果。 如果我们输入值 hello,我们将得到 hello 的输出。
ASK
该命令用于从默认输入流中读取一行。
variable = ask
Variable − 用于存储用户输入的值的变量。
None
/* 主程序 */ input = ask say input
当我们运行上面的程序时,我们将得到以下结果。 如果我们输入值 hello,我们将得到 hello 的输出。
ASK
