A script in Microbasic language can be written in the Scripting tab of the Roborun+ Utility



After a script has been written, it can be built by clicking the "Built" button. The editor will check for errors and calculate the script length.



To send the script to the controller, the "To device" button must be clicked. It is not necessary to build the script before sending to device, as it will automatically be built first.



Once the script is sent to device, it will be saved to the flash memory of the controller and it will run everytime the run button is clicked. The script will be executed line by line and it will run until it ends. If there is an infinite loop in the script, it will run contonuously until the controller is reset.



The script can also be configured to run automatically on the start up. If the sctipt is written in an infinite loop, it will essentially operate as a part of the controller's firmware and run all the time during controller's operation.



Finally there is the option simulate Microbasic scripts, by clicking the "Simulate" button.