console · function ·
WriteChoiceList
Write choice list.
Write readable output, prompts, values, and diagnostics in a console application.
external WriteChoiceList(text title, list of text options)Status: source-declared
Parameters
text title- Supply title as text.
list of text options- Supply options as list of text.
Use WriteChoiceList
A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.
cpu · source-example · type checked
using console
// Write readable output, prompts, values, and diagnostics in a console application.
text title = "Inventory"
list of text options = []
WriteChoiceList(title, options)
Console.Log("WriteChoiceList completed")
project.mech
manifestVersion = "2"
package = "api.example.console__writechoicelist"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "console"
version = "0.1.0"
path = "../../../yeho/packages/console"
Notes and source
Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.
yeho/packages/console/console.yh:343