in reply to How may I set a bit or change (10100101 to 10100111)?
see also perlop's section on bitwise ormy $a6 = 0b10100101; my $a7 = $a6 | 0b0000010; printf "dec: $a7, hex: %x\n",$a7
update: ignore the variable names :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How may I set a bit or change (10100101 to 10100111)?
by GrandFather (Saint) on Jun 15, 2006 at 21:18 UTC | |
by Joost (Canon) on Jun 15, 2006 at 21:19 UTC |