下载此文档

易语言支持库-数组操作命令用法.doc


文档分类:IT计算机 | 页数:约18页 举报非法文档有奖
1/18
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/18 下载此文档
文档列表 文档介绍
易语言支持库-数组操作命令用法

命令
操作系统支持:Windows、Linux、Unix 所属类别:数组操作
本命令可以重新定义指定数组的维数及各维的上限值。
语法: 无返回值 重定义数组 of non-mobile of way received connection facilities, Ensure that a larger proportion of the region's residents commute using mass transit. Figure -3 Copenhagen Metro City Development 2, Tokyo -4 Tokyo Metro to guide regional development (left: 1950, right: 2000) formation is the mass transit system of the city of Tokyo, which have been developed under the guidance of. Eastern suburbs ... Established to track traffic based on the network-city, using rail-oriented intensive development mode has been recognized in many cities. Created the urban structure of the node, forming the urban rail transit-dependent and lifestyle, as well as mass transit systems provide adequate passenger protection. to guide the healthy development of
命令
操作系统支持:Windows、Linux、Unix 所属类别:数组操作
取指定数组变量的全部成员数目,如果该变量不为数组,返回-1,因此本命令也可以用作检查指定变量是否为数组变量。
语法: 整数型 取数组成员数 (欲检查的变量)
参数名 描 述
欲检查的变量 必需的; 通用型,参数数据只能提供变量及变量数组。参数值
指定欲检查其成员数目的数组变量或者欲检查其是否为数组的
变量。
使用:.版本 2
.程序集 窗口程序集1
.子程序 __启动窗口_创建完毕
.局部变量 A, 整数型, , "3,4"
, 到文本 (取数组成员数 (A))
运行结果:12
原因:数组A为[3,4], 取数组成员数(A) 命令,既有3*4=12,共12个成员。
命令
操作系统支持:Windows、Linux、Unix 所属类别:数组操作
返回指定数组维可用的最大下标(最小下标固定为1)。如果给定变量不为数组变量或指定维不存在,返回 0 。
语法: 整数型 取数组下标 (欲取某维最大下标的数组变量, ,欲取其最大下标的维,)
参数名 描 述
欲取某维最大下标的数组必需的; 通用型,参数数据只能提供变量及变量数组。 变量
欲取其最大下标的维 可选的; 整数型。1 表示第一维,2 表示第二维,如此类推。
如果省略本参数,默认值是 1。
使用:.版本 2
.程序集 窗口程序集1
.子程序 __启动窗口_创建完毕
.局部变量 A, 整数型, , "3,8"
, 到文本 (取数组下标 (A, 2))
*欲取某维最大下标的数组变量:A
*欲取其最大下标的维:2
运行结果:8
layout development cities in developed countries show that developing rail transit Guide and an important means of achieving sustainable urban development. More than the bulk of the urban rail transit vehicles, rail traffic in the urban space layout and guide the evacuation, optimizing the structure and other aspects also play an important role in its ro

易语言支持库-数组操作命令用法 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数18
  • 收藏数0 收藏
  • 顶次数0
  • 上传人amikiri
  • 文件大小51 KB
  • 时间2022-04-04