OWBasic for Pocketviewer

Home INTRO Group IFUNC Alphabetical Index

Shift right

SHR(i%, [n%=1])

All bits of i are shifted n steps to the right (to lower values). This is the same as n times a division by 2.


  • SHL - Shift left
Home INTRO Group IFUNC Alphabetical Index