A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/efun/set_bit


string set_bit(str, n)
string str;
int n;

Return the new string where bit 'n' is set in string 'str'. Note that
the old string 'str' is not modified.

The max value of 'n' is limited. Ask the administrator if you want to
now the maximum value.

The new string will automatically be extended if needed.

Bits are packed 6 per byte in printable strings.

See also:


This page was generated in LPC

Imprint / Impressum