[Addon] TurtleVar 1.0

Variables for turtleScript

  1. Dootie
    TurtleVar
    [​IMG]
    Add variables to turtleScript.

    How to use it:
    var <variable name> = <Something>; Declare a variable or change the value.
    $<variable name>; Get the variable value.

    Example code to test it:
    Code (Text):
    var block = %block down type%;
    print $block;
    var block = %block up type%;
    print $block;
    var hello = He + llo;
    print $hello;
    var number = 1 + 2;
    print $number;
    var number = $number - 2;
    print $number;

    [​IMG]

    [​IMG]
    • Add variables to TurtleScript.
    • Support "+" "-" "*" "/".

    • USE The discussion section to report bugs or comment your ideas.
    • DON'T USE The review to report bugs or comment your ideas.