Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FPath documentation
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00434548
Message ID:
00434575
Views:
19
>Hi George,
>I sent this to you because of your excellent FoxTools documentation! Do you know where I can find documentation for FPath.Plb? Another developer here recently needed bitwise functions in FPDos and I found a thread which led me to FPath.Plb. While we have bxor() figured out and can certainly figure out the rest by trial and error, just wondered if someone had already done this.
>
Bill,

Nice to see your face.< s > Second, thanks for the kind words about the Foxtools docs.

Unfortunately, I never even knew about what was in FPATH.PLB until long after I'd left working in DOS. When I found out what was in there, I realized that I'd done a lot of unnecessary work in the migration process from FPD to FPW. Additionally, there seems to be precisely zero in terms of documentation for the functions that did not make it into Foxtools (such as the bit manipulation functions) The functions themselves, however, should be fairly straight forward in figuring out precisely what they do. I'd assume that the ones that made it to Foxtools are identical in their parameter lists.

As far as the bit manipulation functions go, they seem to be indentical in their parameter lists to their counterparts in VFP. The following list shows the translation from FPATH.PLB to VFP
Fpath     VFP
BXOR()    BITXOR()
BOR()     BITOR()
BAND()    BITAND()
BNOT()    BITNOT()
BSHR()    BITRSHIFT()
BSHL()    BITLSHIFT()
The other difference is that they work on 16 rather than 32 bit integers. Like VFP, they are signed integers.

Some of the other functions I'd have to play around with for awhile (ie. DBL2NUM()) in order to determine what they did.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform