Updated Basics (markdown)

Stone_Red
2022-03-24 00:43:13 +01:00
parent 89bc0ed5e6
commit 60a5e46404
+5 -5
@@ -1,6 +1,6 @@
# Hello World
Creating a hello world program in YesNt is very sample:
Creating a hello world program in YesNt is very simple:
```
cwl Hello World!
```
@@ -10,7 +10,7 @@ cwl Hello World!
# Printing to the console
There are two statements which can print text to the console
## `cw` (Console Write)\
## `cw` (Console Write)
Prints everything to the console which comes after it
### Example
@@ -22,7 +22,7 @@ cw World
### Output:
`HelloWorld`
## `cwl` (Console Write Line)\
## `cwl` (Console Write Line)
Prints everything to the console which comes after it and appends `\n` to it
### Example
@@ -41,7 +41,7 @@ World
# Reading from the console
You can read either a whole line or a single char from the console using the following statements:
## `%cr` (Console Read)\
## `%cr` (Console Read)
Replaces the statement through a single character read from the console
### Example
@@ -55,7 +55,7 @@ cwl %cr
### Output
`A`
## `cwl` (Console Write Line)\
## `cwl` (Console Write Line)
Replaces the statement through a whole line read from the console
### Example