Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with sockets
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01339151
Message ID:
01340299
Views:
16
Hi Mark,

>lcStruct = ;
>toInt(m.lnIdentifier,4) + ;
>toInt(Len(m.lcData),4) + ;
>toInt(m.lnMem+12,4) + ;
>m.lcData
>What is toInt here?

Oops, sorry. toInt is a helper function that I forgot to include. With VFP 9 it's better to replace this with BINTOC():
lcStruct = ;
BINTOC(m.lnIdentifier,"RS") + ;
BINTOC(Len(m.lcData),"RS") + ;
BINTOC(m.lnMem+12,"RS") + ;
m.lcData
The purpose is to create a structure that contains several integer values.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform