summaryrefslogtreecommitdiff
path: root/macros/generic/lt3luabridge/example.plaintex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/lt3luabridge/example.plaintex')
-rw-r--r--macros/generic/lt3luabridge/example.plaintex3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/generic/lt3luabridge/example.plaintex b/macros/generic/lt3luabridge/example.plaintex
index 515a5d04b0..2a0c73066f 100644
--- a/macros/generic/lt3luabridge/example.plaintex
+++ b/macros/generic/lt3luabridge/example.plaintex
@@ -1,3 +1,4 @@
\input lt3luabridge\relax
-$ 1 + 2 = \luabridgeExecute{ print(1 + 2) } $
+\luabridgeExecute{x = 1 -- this will have no effect due to sandboxing}
+$ 1 + 2 = \luabridgeExecute{if x == nil then print(1 + 2) end} $
\bye