Method `<<()
- Method `<<
int`<<(intarg1,intarg2)
mixed`<<(objectarg1,int|objectarg2)
mixed`<<(intarg1,objectarg2)- Description
Left shift.
Every expression with the
<<operator becomes a call to this function, i.e.a<<bis the same aspredef::`<<(a,b).If
arg1is an object that implements lfun::`<<(), that function will be called witharg2as the single argument.If
arg2is an object that implements lfun::``<<(), that function will be called witharg1as the single argument.Otherwise
arg1will be shiftedarg2bits left.- See also