Boron 0.1.0

Datatype Path
[Urlan Datatype System]


Functions

int ur_pathCell (UThread *ut, const UCell *pc, UCell *res)
 Get the value which a path refers to.
int ur_setPath (UThread *ut, const UCell *path, const UCell *src)
 Set path.

Function Documentation

int ur_pathCell ( UThread ut,
const UCell pc,
UCell res 
)

Get the value which a path refers to.

Parameters:
pc Valid UT_PATH cell.
res Set to value at end of path.
Returns:
UT_WORD/UT_GETWORD/UR_THROW

int ur_setPath ( UThread ut,
const UCell path,
const UCell src 
)

Set path.

This copies src into the cell which the path refers to.

If any of the path words are unbound (or bound to the shared environment) then an error is generated and UR_THROW is returned.

Parameters:
path Valid path cell.
src Source value to copy.
Returns:
UR_OK/UR_THROW


Generated on 27 Jan 2012 by Doxygen 1.5.1