目录

ask Command

此命令用于从默认输入流中读取一行。

语法 (Syntax)

variable = ask 

参数 (Parameters)

  • Variable - 用于存储用户输入的值的变量。

返回值 (Return Value)

没有

例子 (Example)

/* Main program */ 
input = ask 
say input

输出 (Output)

当我们运行上述程序时,我们将得到以下结果。 如果我们输入值hello,我们将获得hello的输出。

ASK
↑回到顶部↑
WIKI教程 @2018