DQ_Push ( deque ; value )
Push an item onto the front (top) of a double-ended queue
Average rating: 4.7 (26 votes) Log in to vote
Stephen Hanna Stephen J. Hanna Consulting http://www.sjhanna.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This is a "push" function for a package that implements a double-ended queue (DeQue, sometimes pronounced "deck"). See the description of DQ_New() for details. A typical usage sequence would be:
Set Variable [ "$myStack" ; DQ_New ( "apple" ) ) ]
Set Variable [ "$dummy" ; DQ_Push ( $myStack ; "banana" ) ]
Comments
Gianandrea Gattinoni, Milano Jan 4, 2015 |
||
you need to put in quote the variable name: DQ_Push ( "$myStack" ; "banana" ) and the function returns the varable name |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.