定义了一个一维数组,不定长
想得到一个条件表达式,如果这数组成员存在,就取其值
怎么写?
isnull判断?
------解决方案--------------------
判断要取值的成员下标 <= upperbound(数组)
------解决方案--------------------
- C# code
integer ifor i = 1 to upperbound(array_name) // 这样就不会越界了 if not isnull(array_name[i]) then // get the value end ifnext