Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why this gives an error?
Message
From
11/01/2001 13:52:50
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00462305
Message ID:
00462433
Views:
14
>>>Hi everybody,
>>>
>>>This expression:
str(val(oJC.HighWeek)-1),6)
>>
>>One reason could be the extra ). Try:
>>str(val(oJC.HighWeek)-1,6)
>
>Thanks, Larry. I was looking at this expression almost 10 min., trying different combinations, before realizing, what's wrong :)

Here's a trick I use (used to use it a lot when proofing FPA galleys). Start at 0 and count the parens. Add one for every left paren and subtract one for every right paren. If you're not at 0 at the end of the code line, something's wrong.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform