✨ feat(tsl-api-reference): improve tagged API discovery
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
|
||||
带回车地输出字符串,如果在平台运行,会输出信息到客户端。
|
||||
|
||||
<!-- tags: 打印 输出 output print write writeln -->
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ---- | ------ | -------------- |
|
||||
| `p1` | string | string 字符串1 |
|
||||
@@ -40,13 +42,9 @@
|
||||
### 示例
|
||||
|
||||
```tsl
|
||||
// 先输出111222,接着另起一行显示空白,再接着另起一行输出333
|
||||
// 需平台运行环境查看客户端输出
|
||||
writeln("111", "222");
|
||||
writeln("333");
|
||||
{结果页面中,运行信息下打印:
|
||||
111222
|
||||
333
|
||||
}
|
||||
```
|
||||
|
||||
## `write(p1, pn)`
|
||||
@@ -55,6 +53,8 @@ writeln("333");
|
||||
|
||||
输出字符串,如果在平台运行,会输出信息到客户端。
|
||||
|
||||
<!-- tags: 打印 输出 output print write writeln -->
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ---- | ------ | -------------- |
|
||||
| `p1` | string | string 字符串1 |
|
||||
@@ -65,13 +65,10 @@ writeln("333");
|
||||
### 示例
|
||||
|
||||
```tsl
|
||||
// 先输出123456,接着另起一行输出789
|
||||
// 需平台运行环境查看客户端输出
|
||||
write("123", "456");
|
||||
write("789");
|
||||
return;
|
||||
{在结果页面中打印:
|
||||
123456
|
||||
789}
|
||||
```
|
||||
|
||||
## `httpGetContent()`
|
||||
|
||||
Reference in New Issue
Block a user