Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why Can't I #DEFINE DV _vfp.startmode=0 ?
Message
From
22/07/2003 12:09:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Why Can't I #DEFINE DV _vfp.startmode=0 ?
Miscellaneous
Thread ID:
00812415
Message ID:
00812415
Views:
57
This works from the command window.
#DEFINE DV _vfp.startmode=0
if DV
  ? 'Works'
endif
why doesn't this work?
file myInclude.h
#DEFINE DV _vfp.startmode=0

myForm
  include file: myInclude.h

myForm.Init()
  if DV                         << triggers error "variable 'DV' not found"
    .....
  endif
Bill Morris
Next
Reply
Map
View

Click here to load this message in the networking platform