| 函数名: | 输出显示函数 |
| 调 用: | gma.echo(all kind of values) |
| 参 数: | 字符串、数字、或变量 |
| 返回值: | 无 |
| 结 果: | 在控台的 System monitor 中输出显示内容 |
| 备 注: | 用来调试程序非常有用 |
例子:
- 在控台的 System monitor 中打出文字“Hello World!”
function Start()
gma.echo("Hello World!")
end
return Start;
- 在控台的 System monitor 中打出数字“1”
function Start()
gma.echo(1)
end
return Start;
- 在控台的 System monitor 中输出“my name is Tom”
function Start()
name = "Tom"
gma.echo('my name is '..name)
end
return Start;
