Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Caused a compile error...
Message
From
20/02/2001 12:00:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Caused a compile error...
Miscellaneous
Thread ID:
00477657
Message ID:
00477657
Views:
61
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.
Next
Reply
Map
View

Click here to load this message in the networking platform