mark "Sample function"; seed multiply x { return x * x }; mark "Variables and arrays"; leaf two = 2; leaf twoTimesByTwo = multiply(two); branch count = [1, two, 3, twoTimesByTwo]; mark "Sample if-then statement"; leaf twoTimesByTwois4 = ""; if twoTimesByTwo == 4 then { twoTimesByTwois4 = "true" }; mark "Sample print function"; print "2 * 2 is " + twoTimesByTwo; print "its " + twoTimesByTwois4; mark "Seeds and if-then statements run javascript code, NOT MAPLSCRIPT!"; mark "The Javascript code cannot contain semicolons as it will conflict with the MAPLScript code.";
Error
Run
Clear
Save
Open
Tree
Log
About
Mobiz Advanced Programming Language, © Mobiz 2023
We | Do | Tech. Do not contact us, we are epic.