I'm pretty sure it's not DIMENSION command that causes that but something else. Check your code one more time. You can use my
Array Browser file #
9948 to dispaly arrays in convinient form.
>Has anybody run into this before. I am re-dimensioning an array like this.
>
>lnTotFlds = aFields(paStru, "Arcapp")
>dimension paStru(lnTotFlds+1, 16)
>
>And it works when I run the exe from the desktop or explorer, but if I run the exe from the command prompt the array does not get copied when it's re-dimensioned. So when I try to create a cursor from the array I get a syntax error because all but one row of the array is set to .f. Any insight??
--sb--