NAME
	test_bit - test a given bit in a bitfield

SYNOPSIS
	int test_bit(string bitfield, int bitnum)

DESCRIPTION
	Tests 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.

	test_bit returns 1 if the bit is set, otherwise 0.

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 191 since November 2019.
This file was last modified: June 2000.