ReverseList » 历史记录 » 版本 1
tejie, 2024-07-02 15:29
1 | 1 | tejie | h4. _%{color:green}reverseList%_ |
---|---|---|---|
2 | |||
3 | 数组元素反转 |
||
4 | |||
5 | 标签:命令定义|reverseList>reverseList |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |reverseList |原始数组 |返回数组 | |
||
10 | |||
11 | |||
12 | *说明* |
||
13 | * 参数1:原始数组 |
||
14 | |||
15 | * 参数2:排序后返回的数组 |
||
16 | |||
17 | |||
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}reverseList* L$测试 L$测试 |
||
28 | [[print]] 【元素翻转】<$str(L$测试)> |