Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What could be wrong here?
Message
 
 
To
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:
01065432
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.

In ALINES I don't have any parameters as you see. I'm using cursor's field that does exist and has right data. Right now I'm reading thread BUG in ALINES that may be related to my problem. The HELP on ALINES is a little bit confusing. It looks like the 3rd parameter nFlags (1 in my case) is not required. I tried without this parameter in IDE and it works fine. I'm waiting for my colleague to cut an exe to test it there.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform