Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bitwise Functions in Clipper '87
Message
From
17/12/2000 09:23:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00454280
Message ID:
00454481
Views:
26
>Ok, num%2 works, however, when you say "then divide by 2 to get next", what do you mean ? I've tried dividing by 2 several different ways (numerator, denominator, etc.) and didn't get a correct result.
lparameters tnNumber
for ix = 1 to 32 && 32 bits integer
	? tnNumber%2
	tnNumber = int(tnNumber/2)
endfor
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