Vely logo install
examples
documentation

Vely 15.2.0 released on Jan 18, 2023
Articles updated Jan 17, 2023

new-fifo


Issues with this documentation page? Report here.

Purpose:


Create FIFO list.

Syntax:



new-fifo [ define ] <list>


Description:


new-fifo initializes new FIFO <list> (First In First Out). <list> is a pointer to type "vely_fifo", and can be created with optional "define".

FIFO <list> contains key/value pairs on a first-in, first out basis. It is useful for storing temporary information in memory which can be quickly retrieved. Note that a list is accessible to the current process only.

Generally pairs of key/value are stored in a FIFO list, and retrieved (possibly many times) in the same order in which they were stored.

The internal positions for write-fifo and read-fifo actions are separate so you can keep adding data to the list, and obtain it in any number of retrieval passes by using rewind-fifo.

Examples:



new-fifo define nf


See also:


FIFO ( new-fifo   purge-fifo   read-fifo   rewind-fifo   write-fifo  )  SEE ALL (documentation)



Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Vely elephant logo (c) 2022 DaSoftver LLC. This web page is licensed under CC-BY-SA-4.0.