Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why do I need THIS?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Why do I need THIS?
Divers
Thread ID:
00537993
Message ID:
00537993
Vues:
55
Anyone out there know why this works:
WITH THIS
  IF ("*" $ THIS.rptJobno.xValue1) OR ("?" $ THIS.rptJobno.xValue1)
     ...
  ENDIF
ENDWITH
But this doesn't:
WITH THIS
  IF ("*" $ .rptJobno.xValue1) OR ("?" $ .rptJobno.xValue1)
     ...
  ENDIF
ENDWITH
Even though it's enclosed in "WITH THIS", it complains that a parenthesis is missing unless I add the redundant THISs. No hurry on this one since it works fine with the THISs added. I'm just curious why they would be needed.

VFP 5.

Thanks,

Michelle
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform