Hi all,
I've got an array of numbers. I'd like to find out if a particular number is in the array, and if it's there, remove that element from the array.
Right now I do it manually, by looping through the array. It's not very big array, just thought there might be a more "elegant" way to accomplish the same thing.
// Remove this workorder from the global list of open WOs
ll_upper = Upperbound( gl_dde_datasheets )
if ll_upper > 0 then
ll_CopyTo = 1
for ll_ThisOne = 1 to ll_upper
if gl_dde_datasheets[ ll_ThisOne ] <> al_FormID then
ll_temp[ ll_CopyTo ] = gl_dde_datasheets[ ll_ThisOne ]
ll_CopyTo++
end if
next
gl_dde_datasheets = ll_Temp
end if
~~~Tracy
~~~Tracy