Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro changes variable type
Message
 
To
07/02/2002 11:44:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00616675
Message ID:
00616698
Views:
24
>>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.

Do you have a table open with a charracter field named "i" ?
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform