← All built-ins / ui_set()
ui_set()
ui_set(...$args): int
Parameters
| Name | Type | Description |
|---|---|---|
| $handle | int | control handle |
| $text | string | new text/value |
Return value
Sets the control's text (label, button caption, input value, …).
Example
echo "ui_set($lbl, "Count: " . $n);";
ui_set($lbl, "Count: " . $n);
This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.