Manual

counttomark
70
counttomark
Description
Returns a count of the number of objects currently on the operand stack above the top-most mark
object.
Usage
Mark NAny..1Any count Mark NAny..1Any NInt
Mark Mark. Top-most
mark
object on the operand stack.
NAny..1Any Any. All objects on the operand stack above the top-most mark object.
NInt Integer. Number of objects on the operand stack above the top-most mark ob-
ject.
Comments
The counttomark operator pushes onto the operand stack a count of the number of objects resi-
dent on the operand stack above the top-most mark object prior to execution of the counttomark
operator. The count does not include the
mark
object itself.