项目

一般

简介

GetListVarCount » 历史记录 » 版本 2

tejie, 2025-04-14 10:09

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