Number of ready cells for Pop in Push Pop Array
Syntax: PPReady(ppindex=0)
PPReady(ppindex=0)
ppindex index of PPArray arbiter <0...3>
ppindex
Returns: Number of available cells to pop.
Notes: If there is the possibility to call Pop without being sure about available cells, then this function should be used to check it. Otherwise, an exception will be raised if Pop is performed on empty or not enough filled PPArray.
Pop
PPArray
Example:
if (PPReady() { Pop(arr); ... }
See also: Pop
Last updated 6 years ago