Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why this gives an error?
Message
De
11/01/2001 13:52:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00462305
Message ID:
00462433
Vues:
15
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform