Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Another BlackRabbit Script sample

Another BlackRabbit Script sample

The following is another simple to use BlackRabbit Script sample.

BlackRabbit Script
//Copyright JBALFOURDTP//28/10/2014
//BlackRabbit Script version: 2.2.2.467

function main()
    //main method goes here
    output("Hello world");

    $x = 11
    $y = 11

    if($x == $y)
        output(True)
    else
        output(False)
    endif

    //Incrementing variables will not instantiate them. They must be instantiated prior to use.
    $i = 0
    while($i < 10)
        $i++
        output($i)
    endwhile

endfunction
brs
script
example
blackrabbit
Comments
Powered by DASH 2.0