Welcome to the Z# Language Interpreter Want to Join The Z# Team? Message Me Through Scratch @Gametechnoidz ---------------------------------------- v 1.1.0 ----------------------------------------- Z# Is A Scratch Language Founded And Created By Me. Z# Is A Small Text Based Programming Language That Uses Different Syntax To Interpret Your Code And Run A Program. It Was Designed In Scratch As A Way For Users To Be Able To Create Basic To Advanced Projects Without The Default Scratch Look. Even Create Your Program In NotePad Or Your Favourite Text Editor And Paste It Into The Interpreter By Converting It To A Project String. The Great Thing About It All Is That Z# Is The Most Simple Text Based Programming Language To Learn And Understand Quickly In The Whole Of Scratch That Is Still Capable Of Creating High Preforming Applications. Converting to ProjectString Format Is Easy And Makes You No Longer Have To Paste In Line By Line Each Code Line. Simply Write Up The Project In A Text Editor And Then Add a ; (Semicolon) to The End Of Each Line. Now Copy Your Script. Click 'Upload ProjectString' In The Interpreter And Paste In The Document. Press Enter And Your Script Will Be Separated Into Code Lines. How Good Is That?!
Wiki Page For Functions: http://z-hash.wikia.com/wiki/Functions -------------------------------------------------------------------------------------------- Functions (12) v 1.1.0 Development -------------------------------------------------------------------------------------------- comment - Syntax: \\ Message - Add Notes To Your Script. print - Syntax: print('Message') or print("Message") - Outputs A String - You Can Then Print The Last Answer Recieved With print.Ans - You Can Print A Variable Value With print.var(Var Name) ask - Syntax: ask('Message') or ask("Message") - Asks A Message And Waits For An Answer - You Can Then Print The Last Answer Recieved With print.Ans - Set A Variable To The Last Answer Recieved With var.Ans(Variable Name) wait - Syntax: wait(1) - Waits X Amount Of Seconds goto - Syntax: goto(1) - Goes to The Line of Code Specified - Go To The Line Specified By A Variable With goto.var(Var Name) var (variable) - Syntax: var(Name,Value) - Creates A New Variable Or If Already Created, Updates It's Value. - Set A Variable To The Last Answer Gotten With var.Ans(Variable Name) - Set A Variable to The Number of The Line Of Code Currently Running With var.Line(Variable Name) clear - Syntax: clear - Clears The Output Display if - Syntax: if(Num1)=(Num2) or if(Num1)~(Num2) or if(Num1)> (Num2) or if(Num1)<(Num2) - Tests If A Number Is Equal, Larger, Smaller or Not Equal to Another. (IN DEV DOESNT SUPPORT VARS) ---------------------------------------------------------------------- Sample Program print("Hello And Welcome to The Z# Language Compiler!") wait(4) print("This Sample Program Can Show You What Z# Is Capable Of At This Point In Development.") wait(6) print("As You Can See, I Have Already Been Using Two Functions, Print and Wait.") wait(3) print("But Thats Not All You Can Do! Z# Allows You To Ask Questions To Your Users.") wait(5) ask("Just Like This Example. The User Can Type Anything As Their Answer") print("As You Can See, The Program Will Automatically Wait For A Reply Before Continuing A Program.") wait(5) print("You Can Also Print The Latest Answer Input By Using print.Ans") wait(3) print.Ans wait(2) print("You Can Set a Variable to The Latest Answer Using var.Ans(Variable Name) wait(2) var.Ans(Test) wait(2) print("We Can Go To A Specific Line Of Code With goto(Line # Here)") wait(2) \\ goto(1) print("I Won't Do That Because It Will Create A Loop.") wait(1) print("But Wait! Thats Not All!") wait(2) print("Z# Allows The Creation of Variables.") wait(2.5) print("The Best Thing About Being Able to Create And Overwrite Variables is That You Can Create An Infinite Amount Of Variables With Custom Names") wait(8) print("Variables Can be a String, Integer or Number.") wait(2.5) print("This is Possible With Z# Variable List Method.") wait(2.5) var(Hello,21) print("Now That We Have Our Variable, We Can Print Its Value!") wait(3) print("We Can do This by Using print.var(Variable Name)") wait(2.5) print.var(Hello) wait(1) print("See. Thats What I Set The Hello Variable to Earlier.") wait(2) print("Well, Thats All We Have to Show You At This Point in Time.") wait(2) print("Thanks For Taking The Time to Run This Program And Learn Z#.")