aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/script.lua
diff options
context:
space:
mode:
authoronefang2020-03-16 14:49:09 +1000
committeronefang2020-03-16 14:49:09 +1000
commitf8574e0be89e7b523e64f656c93814d6948b2a33 (patch)
tree11bd44706c54b1441e890f685a5ed6e07e75777f /src/script.lua
parentRevert "Bitch if we can't read the OpenSim config file." (diff)
downloadopensim-SC_OLD-f8574e0be89e7b523e64f656c93814d6948b2a33.zip
opensim-SC_OLD-f8574e0be89e7b523e64f656c93814d6948b2a33.tar.gz
opensim-SC_OLD-f8574e0be89e7b523e64f656c93814d6948b2a33.tar.bz2
opensim-SC_OLD-f8574e0be89e7b523e64f656c93814d6948b2a33.tar.xz
Revert "The new sledjchisl binary, to replace the management scripts and web stuff."
This reverts commit 34c5ee4c2a489a506e93d5b303fbc80b263747f0.
Diffstat (limited to 'src/script.lua')
-rw-r--r--src/script.lua18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/script.lua b/src/script.lua
deleted file mode 100644
index 1e4b909..0000000
--- a/src/script.lua
+++ /dev/null
@@ -1,18 +0,0 @@
1-- script.lua
2
3-- This works coz LuaJIT automatically loads the jit module.
4if type(jit) == 'table' then
5 io.write('script.lua is being run by ' .. jit.version .. ' under ' .. jit.os .. ' on a ' .. jit.arch .. '\n')
6else
7 io.write('script.lua is being run by Lua version ' .. _VERSION .. '\n')
8end
9
10-- Receives a table, returns the sum of its components.
11io.write("The table the script received has:\n");
12x = 0
13for i = 1, #foo do
14 print(i, foo[i])
15 x = x + foo[i]
16end
17io.write("Returning data back to C\n");
18return x