Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What could be wrong here?
Message
From
04/11/2005 09:52:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01065423
Message ID:
01065428
Views:
17
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform