MC-Basic:ARRAYSIZE/zh-hans

From SoftMC-Wiki
< MC-Basic:ARRAYSIZE
Revision as of 06:30, 17 April 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: English  • 中文(简体)‎

缩写

格式

<variable> = arraysize (<array_name>, <long_expression>)

可用版本

所有版本

描述

根据维数返回数组维度(1为第一维度,2为第二维度等)

如果维数大于为数组定义的维数,则返回零。 如果维数为零或负数,则返回零。

类型

Long

取值范围

单位

默认

使用范围

Configuration, Task, Terminal

限制

例子

?ArraySize (Arr, 2)

Size = ArraySize (Arr, X)

参见