Brian Dunning's FileMaker Custom Functions

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 Hanna
Stephen J. Hanna Consulting

Share on Facebook Share on Twitter

  Sample input:
DQ_Push( $myList ; "item" )
  Sample output:

  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" ) ]



Gianandrea Gattinoni   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

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: