PPFree

Number of free cells for Push in Push Pop Array

Syntax: PPFree(ppindex=0)

  • ppindex index of PPArray arbiter <0...3>

Returns: Number of free cells to push.

Notes: Using this function ensures that the oldest Push will not be thrown away.

Example:

if (PPFree() {
    Push(arr);
    ...
}

See also: PPReady

Last updated

Was this helpful?