Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with code
Message
De
29/11/2001 16:27:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00587201
Message ID:
00587736
Vues:
35
>Hi Dragan,
>
>Actually, I switched back to this index, but now I used Vlad's solution and it worked just fine.
>
>lcFor = iif(m.llPassed, ;
>		[for bintoc(DSID)+ExtrYear+ExtrWeek=bintoc(] ;
>                + transform(m.tnDsID)+[)+']+m.lcIssue+['], ;
>		[for State+ExtrYear+ExtrWeek=']+ m.lcStateWeek+['])
>

Either way you had to avoid macroexpanding the expression bintoc() returns, because it may contain any ugly characters which shouldn't appear in a string constant - apostrophes, quotes, double ampersands, EOF markers, CR/LFs etc etc.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform