Bundle the TSL API index and markdown references under the skill, route TSL docs to use it, and update the codegen index generator to maintain the bundled data.
19 lines
1.0 KiB
Markdown
19 lines
1.0 KiB
Markdown
# Web/CGI / 其他
|
|
|
|
### `echo()`
|
|
|
|
与Write类似,但是Echo不是函数而是关键字,使用比write方便,也有些细微差别,目前ECHO显示NAN等和WRITE不一样。
|
|
|
|
返回:any
|
|
|
|
### `read(count, disp_char)`
|
|
|
|
从控制台读字符串并返回结果。
|
|
|
|
| 参数 | 类型 | 说明 |
|
|
| ----------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------ |
|
|
| `count` | int | 整数类型,需要读的字符的个数,个数为0时则以回车结束输入。 |
|
|
| `disp_char` | string | 可选参数,字符类型或者空字符串类型。如果指定该参数,则在输入的时候不显示回显,而是显示该指定的字符,倘若该参数为空字符串,则不显示。 |
|
|
|
|
返回:string
|