view wisdom/select @ 12284:82cb3de99d33 draft

<b_jonas> `` f=/hackenv/bin/botloop; >$f echo $\'#!/bin/sh\\necho no\'; chmod -c a+x "$f"
author HackEso <hackeso@esolangs.org>
date Wed, 01 Jan 2020 09:35:29 +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.