diff --git a/examples/guessmyname.txt b/examples/guessmyname.txt new file mode 100755 index 0000000..426dbaf --- /dev/null +++ b/examples/guessmyname.txt @@ -0,0 +1,18 @@ +#!../src/main.py +NewLang 0 + +System Print BeginText Type 'Hi' for a greeting EndText Done +System Print BeginText Type 'Exit' to exit EndText Done +Set Command To System Read EndSet + +If Command Equals BeginText Hi EndText +Then System Print BeginText Hey there! EndText +Else True BeginNote Does nothing EndNote +EndIf + +If Command Equals BeginText Exit EndText +Then System Exit +Else True +EndIf + +System Print BeginText What next? EndText Done