view wisdom/select @ 11304:ab489b19b975

<int-e> ` echo \'#! /bin/bash\' > bin/morse-decode; echo \'args_or_input | /hackenv/lib/morse-decode\' >> bin/morse-decode # for sanity
author HackBot
date Fri, 05 Jan 2018 00:55:01 +0000
parents 1a4b688a59ae
children
line wrap: on
line source

select is a very versatile construct: it waits for events, retrieves data from tables, creates a list from elements of an input list that satisfy a condition, a dropdown list element, an event for when selection changes, branches between multiple arms, conditional between two expressions, prints a text-based menu prompt in a loop, and more.