Literals
From KynetxDocs
Contents |
Booleans
Numbers
Strings
Extended Quoting
Some KRL statements and expressions make use of extended quotes which begin with << and end the >> For example:
pre {
somevar = <<
<p class="announcement">This is <em>some</em> HTML.<br/>
<a href="http://www.google.com">Search Google</a>
</p>
>>;
}
Extended quotes allow multiple line passages that contain the " symbol to be entered as variables. Values inside the extended quotes are treated as strings.
Inside the string, variables can be referenced using the #{<varname>} syntax. These variables are interpreted in the browser, not on the server.
