MOSAC (massive object storage and computer) is a scratch-based programming language. Supports conditionals, variables, booleans, art, and printing! ----- ----- ----- Documentation ----- ----- ----- - marker.size s - sets marker size to s - marker.rgb r g b - sets marker color to given inputs ----- - ellipse (x) (y) (w) (h) - draws ellipse with center at x, y, width of w, and height of h - rect (x) (y) (x2) (y2) - draws rectangle from x,y to x2,y2 - line (x) (y) (x2) (y2) - draws line from x,y to x2,y2 ----- - var.make "name" "input" - makes a variable with the given name and input - var.make "name" (input) - makes a variable with the given name and input - var.set "name" "input" - sets given variable to given input - var.set "name" (input) - sets given variable to given input - var.change "name" (input) - changes given variable by input ----- - print "text" - prints text in output - print (calculation) - prints calculation in output ----- - if [conditional] - if conditional is true then proceeds - end - ends if statement ----- * - not yet functioning properly ----- ----- ----- Syntax ----- ----- ----- - () - equation inside is calculated and replaces previous input - "" - text inside is used without quotation marks ----- - a**b - calculates a to the power of b - a//b - calculates a to the bth root - a*b - calculates a times b - a/b - calculates a divided by b - a+b - calculates a plus b - a-b - calculates a minus b - mouse.x - replaces with mouse x position - mouse.y - replaces with mouse y position ----- - > - reports as true if previous number is greater than proceeding number - < - reports as true if previous number is less than proceeding number - >= - reports as true if previous number is greater than or equal to proceeding number - <= - reports as true if previous number is less than or equal to proceeding number - = - reports as true if previous number is equal to proceeding number ----- * - not yet functioning ----- ----- ----- nth root and nth power function by @AmazingMech2418