wiki:DeleteMarkedNode

Version 2 (modified by trac, 12 years ago) ( diff )

FUNCTION DeleteMarkedNode(NodeInfo Info, FuncParam Dummy)


Click here to view source.

Takes a NodeInfo parameter Info and checks its ToBeDeleted attribute. If it is set to .TRUE., then the function calls the KillNode() subroutine on the node pointed to by CurrentNode. Otherwise, DeleteMarkedNode() simply returns err_OK.

NOTE: This function could potentially bite the developer pretty hard, as the CurrentNode pointer does not necessarily point to Info. Extreme caution should be used if Info} ?= CurrentNode%Info.


INCLUDES:

None.

USES:

Note: See TracWiki for help on using the wiki.