NAME
	set_bit - set a specific bit in a bitfield

SYNOPSIS
	string set_bit(string bitfield, int bitnum)

DESCRIPTION
	Sets a bit with the number 'bitnum' in a specifically coded string
	'bitfield'. The bitfield string is a string consisting of writable
	characters. Each character represents six bits.

	The 'bitfield' string is automatically extended to satisfy the setting
	of bits outside the current string size.

CAVEAT
	There is a maximum bitindex number which can be changed in config.h
	in the gamedriver source. This constant is normally 1200.

Help topics available:
_m_delete allocate atoi capitalize clear_bit
crypt ctime explode filter_array filter_mapping
implode intp itoa lower_case m_delete
m_indices m_sizeof m_values map_array map_mapping
mappingp member_array mkmapping objectp pointerp
replace set_bit sizeof sort_array sscanf
stringp strlen test_bit unique_array upper_case

[START|BACK ]




[ NannyMuds main page | FAQ | Contact us ]

You are guest number 106 since December 2019.
This file was last modified: June 2000.