Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP equivalent of VB
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00776985
Message ID:
00777391
Views:
13
>What is the VFP equivalent of the this VB code:
>dVar = -1#  ' signifies that the value is a double data type
I'm not sure if there's an exact equivalent, but you can force it to be double by creating a cursor with a double field and assigning the memvar to it.
create cursor tmpDbl (bFld B)
insert into tmpDbl values (-1)
dVar = tmpDbl.bFld
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform