Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Caused a compile error...
Message
De
20/02/2001 12:00:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Caused a compile error...
Divers
Thread ID:
00477657
Message ID:
00477657
Vues:
60
Hey boys and girls,

Anyone know why this would cause an error when building the EXE:
loMeta = iif(type('toMeta.Name') = 'C', toMeta, ;
	newobject('DBCXMgr', 'DBCXMgr', '', .F., justpath(tcDBC)))
It said it couldn't find visual class library "C". The code worked in the EXE thouhg. I changed it to
loMeta = iif(vartype(toMeta) = 'O', toMeta, ;
	newobject('DBCXMgr', 'DBCXMgr', '', .F., justpath(tcDBC)))
and it compiled fine. Just wondering why it would do that.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform