Tests whether a marker set by the SaveMark macro exists. Use this macro as a parameter to the conditional macros IfThen and IfThenElse. The IsMark macro returns nonzero if the marker exists or zero if it does not.
Syntax
IsMark("marker-text")
Parameter | Description |
marker-text | Marker text tested by the IsMark macro. The marker text must be enclosed in quotation marks. |
Example
The following macro jumps to the topic with the “man_mem” context string if the SaveMark macro has set a marker named Managing Memory. The IsMark macro tests for the Managing Memory marker:
IfThen(IsMark("Managing Memory"), "JI(`trb.hlp', `man_mem')")
Comments
Use the Not macro to reverse the results of the IsMark macro.
See Also
DeleteMark, GotoMark, IfThen, IfThenElse, Not, SaveMark