Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug: MCOL() returns invalid type mismatch
Message
From
03/08/2006 08:30:08
Walter Meester
HoogkarspelNetherlands
 
 
To
03/08/2006 07:02:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01142389
Message ID:
01142666
Views:
20
>>>>>>Has anyone seen this?
>>>>>>
>>>>>>The following line occasionally returns error 11: Invalid Argument type mismatch.
>>>>>>The line is:
>>>>>>
>>>>>>
nMousexPos = MCOL()
>>>>>>
>>>>>>I'm stumped.
>>>>>>
>>>>>>Walter,
>>>>>
>>>>>
>>>>>MCOL(0) ?
>>>>>
>>>>
>>>>What do you mean by that? I use MCOL() and it occasionally gives me an error.
>>>>I now have trapped it in a TRY CATCH construct to prevent this from happening, but it sure don't looks healthy.
>>>>
>>>>Walter,
>>>
>>>uses MCOL(0) for active form , MCOL() is not reliable.
>>
>>MCOL(0) is not supported under VFP8SP1 and will produce an error 11 everytime.
>>
>>Walter,
>
>of course.
>
>vfpt add the 0 parameter, in VFP9, because MCOL() can fail.

I understand it can fail in giving the correct value, but raising an error ?

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform