Write lifo

Purpose: Write key/value pair into a LIFO list.

 write-lifo <list> \
     key <key> \
     value <value>

write-lifo adds a pair of key/value to the LIFO <list>, specified with strings <key> and <value> (in "key" and "value" clauses, collectively called an "element").

It always adds an element so that the last one written to <list>  would be the first to be read with read-lifo.
Examples
 new-lifo nf
 write-lifo nf key "mykey" value "myvalue"

See also
LIFO
delete-lifo  
new-lifo  
purge-lifo  
read-lifo  
rewind-lifo  
write-lifo  
See all
documentation


Copyright (c) 2019-2024 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.