B4J Question defining binary values

sorex

Expert
Licensed User
Longtime User
Hello,

Is there a way to define a binary based value?

When working with bit patterns it's easier to use something like

a=&b101

instead of

a=5

but I tried 0b101 & 101b which were common but none of them seem to work.
 

sorex

Expert
Licensed User
Longtime User
that's a pity, most languages seem to have this (exept VB6 it seems).

I was using the int work-a-round which works fine ofcourse.
 
Upvote 0
Top