49
edits
| Line 167: | Line 167: | ||
Error in : [string "'print "bob"'"]:1: unexpected symbol near ''print "bob"'' (3) | Error in : [string "'print "bob"'"]:1: unexpected symbol near ''print "bob"'' (3) | ||
</kua> | </kua> | ||
: | : Passed directly to the 'lua' context verbatim and treated necessarily as a command to be run. This fails as "'print" is not a valid 'lua' context command, and 'print "bob"' is not valid Lua. | ||
<kua> | <kua> | ||
> lua `print "bob"` | > lua `print "bob"` | ||
bob | bob | ||
</kua> | </kua> | ||
: | : With back ticks is treated effectively as a text block, by preemptively removing them. Quotes are not removed as they may be important to the default command in the context. Back ticks are special in that they will be removed from the start and end of the script statement. | ||
== Notes == | == Notes == | ||
* | * | ||