Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent error on type mismatch
Message
 
À
11/03/2011 16:43:41
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:
01503417
Message ID:
01503421
Vues:
35
i define the memory variable as public in my initial program and as a text.

>>In the following command (fln refers to file name)
>>
>>if fln = " " 
>>fln = "Temp"
>>endif
>>
>>
>>i get this error message
>>
>>Operator/operand type mismatch
>>
>>I cannot find the point in my programming at which this variable becomes a numeric reference - but nonetheless Is there a command line i can run immediately before to check if fln is text variable, if not then change it to a text variable before the error message comes up.
>
>Is there a field with that name in the current alias?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform