Here is some very simple BlackRabbit Script code that is used to perform multiple tasks. Can you figure out from the simple commands what it does at each point?
BlackRabbit Script
//Copyright JBALFOURDTP //13/10/2014 //BlackRabbit Script version: 2.2.2.467 function main() //Main method goes here //Case insensitive welcome hey -> Welcome to my application name -> Jamie Name -> Balfour echo ("Hello") get_yes_no("hey name "Name". Press Yes to continue the program.") %result -> bb.*return get_yes_no("Result is "'%result') if(%result == "Yes") output("That is the desired result") else output("That is incorrect") endif $i = 0 $y = $i output($y) while($i < 5) $i++ call (message) endwhile endfunction function message() output("i is" $i "and y is" $y) $y = add($y, 5) $z = multiply($y, $i) endfunction
BlackRabbit Script is no longer maintained and has been replaced by the Zenith Parsing Engine and the ZenLang.
Posted in Software
Comments
Powered by DASH 2.0