49
edits
| Line 106: | Line 106: | ||
</kua> | </kua> | ||
: 'set' now treats james as part of the second parameter, and the quotes themselves are stripped. | : 'set' now treats james as part of the second parameter, and the quotes themselves are stripped. | ||
Parameter delimiters: | |||
:1. space - any whitespace | |||
<kua> | |||
> set bob fred | |||
> bob | |||
'bob' is 'fred' | |||
</kua> | |||
:2. single quotes - any text within a set of single quotes will be a single parameter, and the quotes will be stripped. | |||
<kua> | |||
> set bob 'fred james' | |||
> bob | |||
'bob' is 'fred james' | |||
</kua> | |||
:3. double quotes - any text within a set of double quotes will be a single parameter, and the quotes will be stripped. | |||
<kua> | |||
> set bob "fred james" | |||
> bob | |||
'bob' is 'fred james' | |||
</kua> | |||
Special parameter delimiters: | |||
:4. curly braces - for any text within a set of matching curly braces will be a single parameter, and curly braces will not be stripped. | |||
<kua> | |||
> set bob {fred james} | |||
> bob | |||
'bob' is '{fred james}' | |||
</kua> | |||
== Notes == | == Notes == | ||
* | * | ||