Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sync record pointer on 2 running apps
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01046837
Message ID:
01095774
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform