Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro changes variable type
Message
From
07/02/2002 11:44:12
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00616675
Message ID:
00616691
Views:
23
>Try
>LOCAL i
>before the code you run...

It's already declared as a LOCAL variable before the loop. I just didn't include it in the example.

It's really being converted because, for example, at the end of the loop, it's suppose to contain the numeric value 248000 and it's set to '248000' (char value) instead...

Any other ideas?

I can easily correct the error by re-converting the char value to a numerical value before the end of the FOR loop but I really want to understand the meaning and cause of the error.

Stephane.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform