Skip to content
Abe Pralle edited this page Sep 7, 2022 · 3 revisions

Syntax

$string(token1,token2,...)
$string(token1 token2 ...)

Description

Meta-directive that concatenates and converts one or more tokens into a literal string token. Most often useful in conjunction with macros. Token arguments can be separated by commas or spaces.

Example

local abcd = 394
println "The value of '$' is $."($string(abcd),abcd)
# The value of 'abcd' is 394.
Clone this wiki locally