Module Pike


Constant INDEX_FROM_BEG
Constant INDEX_FROM_END
Constant OPEN_BOUND

local constant Pike.INDEX_FROM_BEG
local constant Pike.INDEX_FROM_END
local constant Pike.OPEN_BOUND

Description

Used with `[..] and lfun::`[..] to specify how the corresponding index maps to an upper or lower range bound:

INDEX_FROM_BEG

The index is relative to the beginning of the string or array (or any other sequence implemented through an object). Sequences typically start at zero.

INDEX_FROM_END

The index is relative to the end of the sequence. In strings and arrays, the last element is at zero, the one before that at one, etc.

OPEN_BOUND

The range is open in the corresponding direction. The index is irrelevant in this case.


Constant WEAK_INDICES
Constant WEAK_VALUES
Constant WEAK

local constant Pike.WEAK_INDICES
local constant Pike.WEAK_VALUES
local constant Pike.WEAK

Description

Flags for use together with set_weak_flag and get_weak_flag. See set_weak_flag for details.


Constant __HAVE_CPP_PREFIX_SUPPORT__

local constant Pike.__HAVE_CPP_PREFIX_SUPPORT__

Description

This constant exists and has the value 1 if cpp supports the prefix feature.

See also

cpp()