diff options
author | lbsa71 | 2007-09-14 09:25:07 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-14 09:25:07 +0000 |
commit | 1b1808d45db249dbc9a82ca60dfdc852f51e958c (patch) | |
tree | d2b0172e2ee23332e01816a1ca16e7e88da2a809 /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt | |
parent | more fun with LSL implementations (diff) | |
download | opensim-SC-1b1808d45db249dbc9a82ca60dfdc852f51e958c.zip opensim-SC-1b1808d45db249dbc9a82ca60dfdc852f51e958c.tar.gz opensim-SC-1b1808d45db249dbc9a82ca60dfdc852f51e958c.tar.bz2 opensim-SC-1b1808d45db249dbc9a82ca60dfdc852f51e958c.tar.xz |
* fixed script compilation
* reversed //c# - if
* rightifyed what's actually converted
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt new file mode 100644 index 0000000..a39d1db --- /dev/null +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/c_sharp_example.txt | |||
@@ -0,0 +1,12 @@ | |||
1 | //c# | ||
2 | namespace SecondLife { | ||
3 | public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass | ||
4 | { | ||
5 | public Script() { } | ||
6 | |||
7 | public void default_event_state_entry( ) | ||
8 | { | ||
9 | llSay(0, "testing, I've been touched"); | ||
10 | } | ||
11 | |||
12 | }} \ No newline at end of file | ||