Literals/String: Difference between revisions

Content added Content deleted
(Lingo added)
Line 1,037: Line 1,037:


* Lingo does not support automatic variable expansion in strings. But the function value() can be used to expand template strings in the current context:
* Lingo does not support automatic variable expansion in strings. But the function value() can be used to expand template strings in the current context:
<lang lingo>template = QUOTE&"Milliseconds since last reboot: "&QUOTE&"&the milliseconds"
<lang lingo>template = QUOTE&"Milliseconds since last reboot: "&QUOTE&"&_system.milliseconds"


-- expand template in current context
-- expand template in current context