Skip to content

Instantly share code, notes, and snippets.

@vpetrigo
Created October 3, 2018 08:27
Show Gist options
  • Save vpetrigo/04db645313aa996d546c7137cd94e305 to your computer and use it in GitHub Desktop.
Save vpetrigo/04db645313aa996d546c7137cd94e305 to your computer and use it in GitHub Desktop.

Revisions

  1. vpetrigo created this gist Oct 3, 2018.
    1 change: 1 addition & 0 deletions run.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    "<path/to/CrossWorks>\bin\crossscript.exe" -load "script.js" -verbose "count();"
    6 changes: 6 additions & 0 deletions script.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    // dumb function to test crossscript
    function count() {
    var i = 0;

    WScript.Echo(i.toString() + "\n");
    }