WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Arrays
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Is it an Array?

Keywords:   is it an array isarr

Question:

Is there a function that checks to see if a variable is an array?

Such as:

IsArr(a)???

Answer:

Yes, the function VarType will retrun 256 if the variable passed is the type array....
#DefineFunction IsArray(item)
return(vartype(item)==256)
#Endfunction

myarray=ArrDimension(1,2,3,4,5)
bool=isarray(myarray)
exit

Article ID:   W14824
File Created: 2001:11:08:12:40:10
Last Updated: 2001:11:08:12:40:10