正在加载文档
分割整数型命令
<!-- mindoc:slug=aa-1hglonrek2koo -->
#### 命令:
>SPLITNUMBER 参数1 参数2 参数3
#### 参数说明:
|位置|说明|备注|
|:----|:---|:---
|参数1 |待分割整数型数值||
|参数2 |分割后保存的变量|格式:变量_索引|
|参数3 |分割后数量保存的变量名||
#### 示例:
```
[@分割数字]
#IF
CheckLevelEx > 0
#ACT
SplitNumber 150374286 N$分割值 N1
SENDMSG 5 <$STR(N$分割值_0)>的值为1
SENDMSG 5 <$STR(N$分割值_1)>的值为5
SENDMSG 5 <$STR(N$分割值_2)>的值为0
SENDMSG 5 <$STR(N$分割值_3)>的值为3
SENDMSG 5 <$STR(N$分割值_4)>的值为7
SENDMSG 5 <$STR(N$分割值_5)>的值为4
SENDMSG 5 <$STR(N$分割值_6)>的值为2
SENDMSG 5 <$STR(N$分割值_7)>的值为8
SENDMSG 5 <$STR(N$分割值_8)>的值为6
SENDMSG 5 本次分割长度为:<$STR(N1)>
break
```