Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sync record pointer on 2 running apps
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01046837
Message ID:
01095774
Vues:
10
Hi Geoff,

>I notice that the toInt() function is missing and assume it converts the number into four byte integer fields.

I'm sorry, here it is:
*========================================================
* Converts a number into a binary string
*========================================================
Function ToInt
LParameter tnValue, tnBytes
    Local lcString, lnByte
    lcString = ""
    For m.lnByte = 1 to m.tnBytes
      lcString = m.lcString + Chr(m.tnValue%256)
      tnValue = Int(m.tnValue/256)
    Endfor
Return m.lcString
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform