diff options
author | David Walter Seikel | 2012-02-04 23:16:29 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-04 23:16:29 +1000 |
commit | a0e0926493e6e2519df4ee98d2f894db7a445c0d (patch) | |
tree | 7e28f641c08c749f95752855502d2491224d08fb /LuaSL/Test sim | |
parent | Fix up rotation and vector subscripts in expressions and non plain assignments. (diff) | |
download | SledjHamr-a0e0926493e6e2519df4ee98d2f894db7a445c0d.zip SledjHamr-a0e0926493e6e2519df4ee98d2f894db7a445c0d.tar.gz SledjHamr-a0e0926493e6e2519df4ee98d2f894db7a445c0d.tar.bz2 SledjHamr-a0e0926493e6e2519df4ee98d2f894db7a445c0d.tar.xz |
Change the test script into a proper LSL script.
Diffstat (limited to 'LuaSL/Test sim')
-rw-r--r-- | LuaSL/Test sim/objects/test.lsl | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/LuaSL/Test sim/objects/test.lsl b/LuaSL/Test sim/objects/test.lsl index 56864d3..6e1d915 100644 --- a/LuaSL/Test sim/objects/test.lsl +++ b/LuaSL/Test sim/objects/test.lsl | |||
@@ -1,6 +1,14 @@ | |||
1 | /* */ 4 /* c */ + /* c0 */ 2 /* c1 */ * /* c2 */ 10 /* c3 */ + /* c4 */ | 1 | |
2 | 3 /* c5 */ * /* c6 */ ( /* c7 */ 5 /* c8 */ + /* c9 */ 1 /* cA */ ) /* cB */ ; /* cE */ | 2 | default |
3 | // Some more arithmetic - | 3 | { |
4 | 1+1; | 4 | state_entry() |
5 | 20.5 + 20 + 1.5; | 5 | { |
6 | llSay(0, /* */ 4 /* c */ + /* c0 */ 2 /* c1 */ * /* c2 */ 10 /* c3 */ + /* c4 */ | ||
7 | 3 /* c5 */ * /* c6 */ ( /* c7 */ 5 /* c8 */ + /* c9 */ 1 /* cA */ ) /* cB */) ; /* cE */ | ||
8 | // Some more arithmetic - | ||
9 | llSay(0, 1+1); | ||
10 | llSay(0, 20.5 + 20 + 1.5); | ||
11 | } | ||
12 | } | ||
13 | |||
6 | // This is the end my friend. \ No newline at end of file | 14 | // This is the end my friend. \ No newline at end of file |