知识库
>
金融建模
>
公用函数
>
扩展函数
>
数组
>
表格类型
QuickRecordExist
复制链接
简述
记录是否存在(原数组必须为有序表),返回记录所在行的序号,序号是从0开始原数组必须为有序表
定义
QuickRecordExist(v:Array,x:String):Integer
参数
V:一维字符串数组
X:字符串
返回:记录所在行的序号
范例:
t:=array('a','c','d');
return QuickRecordExist(t,'d');
//结果:2
相关
DistinctStr
GetSubField
GetSubTable
GetValuesByFieldValue
IntersectionPart
QuickIntersectionPart
QuickRecordExist
RotateTable
NonIntersectionPart