>Hi everybody,
>
>That code works perfectly in IDE, but bombs out with Error 11 in the executable.
>
>
>local array laParms[1]
> local lnI as integer, lnTop, lnHeight, lnTotalSpace
> =alines(laParms,alltrim(cProcessNames.mParameters),1,',')
&& Function argument type, value or count is invalid
>
>
>
>Do you know what could be wrong in this code?
>
>Thanks in advance.
I would check all variables involved: do they exist at all, what is their type, and what is their value, right before the statement that bombs. You might do this with one or more WAIT WINDOW or MessageBox() statements.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)