To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

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

There are no comments on this page.

New comment
Reply
Powered by DASH 2.0 (beta)
Code previewClose