Today i need to make an awesome tutorial for you guys... it is My language(Z-LANG)!!
when you complete the tutorial... please comment and write some lines of code... and i'll reply for you if there is an error and what is the ouput... So let's getting started
1. Variables
In my language... The variables will be like this...
make phrase = "Hello World!";
so make attribute makes a variable... And also don't forget to put ; in the end of the line... OK variables: DONE!
2. Hello World
In my language.. Hello World line will be like this...
make phrase = "Hello World!";
line(phrase)
so here we make a variable called phrase and then we write the line() function to write a line of strings we put the variable phrase Hello World: DONE!
3. Functions
Functions are so simple in my language... it will be like this...
define function() = {
line("This is a function!");
}
so it is like this so simple.... functions: DONE!
4. Comments
Comments are so hard in my language... it will be like this
$THIS IS A COMMENT!$
HARD! no? comments: DONE!
5. If statements
If statements are like this...
make bool = true;
if bool is true = {
line("WITH IF STATEMENTS!")
}
so simple language... if statements: DONE!
SO I HOPE YOU ENJOYED AND DON'T FORGET TO WRITE A LINE OF CODE IN THE COMMENTS!
Hello Everyone!, it's Zuhdi!
Today i need to make an awesome tutorial for you guys...
it is My language(Z-LANG)!!
when you complete the tutorial...
please comment and write some lines of code...
and i'll reply for you if there is an error and what is the ouput...
So let's getting started
1. Variables
In my language... The variables will be like this...
so
make
attribute makes a variable...And also don't forget to put
;
in the end of the line...OK
variables: DONE!
2. Hello World
In my language.. Hello World line will be like this...
so here we make a variable called
phrase
and then we write theline()
function to write a line of strings we put the variable phraseHello World: DONE!
3. Functions
Functions are so simple in my language... it will be like this...
so it is like this
so simple....
functions: DONE!
4. Comments
Comments are so hard in my language... it will be like this
HARD! no?
comments: DONE!
5. If statements
If statements are like this...
so simple language...
if statements: DONE!
SO I HOPE YOU ENJOYED AND DON'T FORGET TO WRITE A LINE OF CODE IN THE COMMENTS!
Good Bye!
@Codemonkey51 TypeError: line 3
function()
SyntaxError: no
;
in the end of linesHAVE A GOO DAY!