Not

Reverses the result (nonzero or zero) returned by the IsMark macro. Use it with the IsMark macro as a parameter to the conditional macros IfThen and IfThenElse.

Syntax

Not(IsMark("marker-text"))

Parameter Description

marker-text Text marker previously created by the SaveMark macro. The IsMark macro tests the marker you specify. The Not macro returns zero if the mark exists (IsMark returns nonzero) or nonzero if the mark does not exist (IsMark returns zero). The marker text must be enclosed in quotation marks.

Example

The following macro executes a jump to the topic with the “exp_mem” context string if the SaveMark macro has not set a marker named Managing Memory:

IfThen(Not(IsMark("Managing Memory")), "JI(`trb.hlp', `exp_mem')")

See Also

DeleteMark, GotoMark, IfThen, IfThenElse, IsMark, SaveMark