n_marker

Format:
n_m*arker(void)
Result:
Number
Description:
Returns the number of markers. Markers can be set by a command (SET MARKER 4 5 6 ) or by the cursor function. The marker values are returned by the marker() function.
e.g.:
if n_marker() $<$ 2
say " Set two markers "
end
endif