Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with sockets
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01339151
Message ID:
01340299
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform