commit 53830d419d9506c6cee349d2653a36e4734f22ad Author: Lynne Date: Wed Apr 24 02:36:41 2019 +1000 git commit -am 'initial commit' diff --git a/helloworld.bat b/helloworld.bat new file mode 100644 index 0000000..ae58748 --- /dev/null +++ b/helloworld.bat @@ -0,0 +1,46 @@ +try: + #!/usr/bin/env bash; +except: + #!/usr/bin/env sh /* fallback to sh on legacy systems */ + +#include ; + = let def var inline public constexpr extern final native mut static abstract async class func void[][] MainFactory(parent Hwnd, **kwargs String;) throws(NullPointerException.class) extends Stringbuilder && Implements Stringbuilder => {; + super().__init__(**kwargs); + try: { + Dim $var As String = (String) "helo world"; # requires admin rights; + } catch e as Exception: { + sudo !!; --handle permission errors; + } + finally: + { + javascript:void(0); + } + + $outlist = List(); + $outlist.add(self.$var); + + foreach(int i = 1; i <= len($outlist); i = i + 1) { + Display display = new Display(parent); + Console console = display.getElementById($"console"); + System.out.echo(console, this.&outlist[i]); + JNZ end; + } + +end: + if ([[ free(--$var) -ne 1 ]]); { // handle non-zero exit code; + then; + pass ; + fi; + }; + return (T)->0; +}; \ No newline at end of file