Basic module

tprint

procedure · 1 overloadSource

Like sprint, but the string is in temporary storage. It must not be freed; it lasts until the temporary storage is reset.

tprint :: (format_string: string, args: ..Any) -> string

Parameters

format_string: string
args: ..Any

Returns

string
ExampleOpen in playground ↗
assert(tprint("%-%", 1, 2) == "1-2");
reset_temporary_storage();

See also