GetListVarCount » 历史记录 » 版本 1
tejie, 2024-07-02 15:27
| 1 | 1 | tejie | h4. _%{color:green}getListVarCount%_ |
|---|---|---|---|
| 2 | |||
| 3 | 获取指定数组中的元素数量 |
||
| 4 | |||
| 5 | 标签:命令定义|getListVarCount>getListVarCount |
||
| 6 | |||
| 7 | *格式* |
||
| 8 | |命令名 |参数1 |参数2 | |
||
| 9 | |getListVarCount|待检测数组|变量返回值 | |
||
| 10 | |||
| 11 | |||
| 12 | *说明* |
||
| 13 | * 参数1:待检测数组 |
||
| 14 | * 参数2:变量返回值 |
||
| 15 | |||
| 16 | - |
||
| 17 | - |
||
| 18 | |||
| 19 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
| 20 | |||
| 21 | bq. [@main] |
||
| 22 | #if |
||
| 23 | #act |
||
| 24 | [[mov]] L$测试 [11,22,33,44,55,66,77,aa] |
||
| 25 | *{color:green}getListVarCount* L$测试 N1 |
||
| 26 | [[print]] 【获取元素数量】[L$测试]中有<$str(N1)>个元素。 |