[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BeanShell suggestions
I spoke too soon:
bsh % (8 >>> 0) & 1;
// Error: Parser Error: Encountered "&" at line 3, column 11.
Was expecting one of:
"{" ...
"[" ...
";" ...
"." ...
"++" ...
"--" ...
"=" ...
"*=" ...
"/=" ...
"%=" ...
"+=" ...
"-=" ...
"&=" ...
"^=" ...
"|=" ...
"<<=" ...
"@left_shift_assign" ...
">>=" ...
"@right_shift_assign" ...
">>>=" ...
"@right_unsigned_shift_assign" ...
bsh % ((8 >>> 0) & 1);
<0>
bsh % (8 >>> 0);
<8>
bsh % 8 & 1;
<0>
Sean