General information
Category:
Coding, syntax & commands
Title:
Can this be considered a Bug?
Hi Friends!
I discovered that VFP 8 no accepts that a Compile-Time Constant is defined with the same name of the field of a file using a ALIAS, see the example below:
* ------------------------------------------- *
#DEFINE ISTRUE File1->IsTrue
USE MyFile ALIAS File1
IF ISTRUE
MESSAGEBOX("TRUE")
ELSE
MESSAGEBOX("FALSE")
ENDIF
* ------------------------------------------- *
In this case VFP8 presents the message:
Object File1 is not found
When I change the name of the constant or I don't use ALIAS all works usually
Can this be considered a Bug?
Or else is a Bug will be that I can suggest Microsoft that talks about this situation in Help of the #DEFINE?
Thanks in Advance
[]'s
Dionísio
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only