From 61b50c8fe89cc89ef21cfc18df976f0bbbcd41e3 Mon Sep 17 00:00:00 2001 From: j4nk Date: Wed, 31 May 2023 09:27:41 -0400 Subject: [PATCH] Added lua scripts for testing error checking --- incorrect_oct_init.lua | 4 ++++ incorrect_oct_loop.lua | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 incorrect_oct_init.lua create mode 100644 incorrect_oct_loop.lua diff --git a/incorrect_oct_init.lua b/incorrect_oct_init.lua new file mode 100644 index 0000000..ea67a20 --- /dev/null +++ b/incorrect_oct_init.lua @@ -0,0 +1,4 @@ +function oct_init() + x = 0; + x = x + "asdf" +end diff --git a/incorrect_oct_loop.lua b/incorrect_oct_loop.lua new file mode 100644 index 0000000..ba3b697 --- /dev/null +++ b/incorrect_oct_loop.lua @@ -0,0 +1,8 @@ +function oct_init() + +end + +function oct_loop() + x = 0; + x = x + "asdf" +end