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. |
Get the value which a path refers to.
pc | Valid UT_PATH cell. | |
res | Set to value at end of path. |
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.
path | Valid path cell. | |
src | Source value to copy. |