Skip to content

DevScript 1.9.13

Latest
Compare
Choose a tag to compare
@DevKevYT DevKevYT released this 06 Dec 22:49
· 3 commits to master since this release

See "changelog.txt"

  • The "import" command got very few love the last updates:
    • Relative paths (*/lib.jar for example) can either be:
      The folder of a script file that is being executed
      OR the folder of the script host, if no file is being loaded
  • The editor now looks a little more fancier with some additional options to rerun scripts or terminate a script without closing the window
  • Added some additional commands to resize the console window or to clean the window
    • gui.clear
    • gui.setSize [sizeX] [sizeY]
    • gui.fullscreen [$true/$false]
      (The command "clearConsole" is still available but will be replaced in future releases by the "gui.clear" command)
  • Started to make some plans to implement a simple graphics library to control java awt elements ;)
  • Try statements can now have a catch block that executes when an error occured so you actually know when something went wrong!
    Example:
    try { unknown command goes here for example; } catch ex { println "Exception was: " $ex; };
  • Added error handling tutorial/examples for try/catch stuff and more examples
  • Added a small welcome message for the GUI editor to prevent confusion