Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange error with macro expansion
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Strange error with macro expansion
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00995177
Message ID:
00995177
Vues:
43
I have some code in a program that's compile to an EXE. An example of very similar code is below. When the code in my EXE runs, it fails with an error 1231 - Missing operand. But only when the value in the EditThisLine field of the cursor is True. If it is False, it works fine. But the code below that recreates almost the exact same situation (just a different cursor name, that's all) runs fine, regardless of the value in the EditThisLine field. I'm at a loss to explain this at the moment. Anyone have any suggestions?
clear all
close all

create cursor TestCursor (EditThisLine l)
append blank
replace EditThisLine with .t.

TestExpr = "not TestCursor.EditThisLine"

FinalValue = &TestExpr

? FinalValue

return
Thanks,

Russell Campbell
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform