Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BINTOC()
Message
From
27/04/2001 14:00:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00500863
Message ID:
00500926
Views:
21
>Thanks Cetin and George. I wanted to use bintoc() to represent numbers in TCP/IP messages, but the 'negative' convention forces me to use a UDF.

Hit to 'the other purpose' :) Well I simply do :

lnNumber1 = iif(lnNumber > 0x7FFFFFFF, 0x7FFFFFFF-lnNumber, lnNumber)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform