Skip to content

Commit 1f5238d

Browse files
Update README.md
1 parent ecdb451 commit 1f5238d

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1+
![Main Image](https://raw.githubusercontent.com/JBrosDevelopment/EZCode/master/docs/Images/EZCode_Wide_Logo.png)
2+
3+
---
4+
15
## \*\**Version 3.0.0 Currently in Development*\*\*
26
*What EZCode v3 is going to look like,*
3-
```
7+
```ezcode
8+
include main
9+
410
make ^int {NAME} {VALUE} => var {NAME} new : {VALUE}
511
// turns: var name 0
612
// into: var name new : 0
713
// which is the valid way to create class instance
814
915
// color class that stores R, G, B values
10-
// looks for c[R G B] and turns that into a new color instance
16+
// looks for c[R;G;B] and turns that into a new color instance
1117
class color {
12-
explicit watch c\[{R} {G} {B}\] => set : R, G, B
18+
explicit watch c\[{R};{G};{B}\] => set : R, G, B
1319
int R 0
1420
int G 0
1521
int B 0
@@ -20,18 +26,16 @@ class color {
2026
}
2127
}
2228
23-
// prints color with the new instance of color class c[50 60 90]
24-
printColor : c[50 60 90]
29+
// prints color with the new instance of color class c[50;60;90]
30+
printColor : c[50;60;90]
2531
2632
method printColor : @color:c {
27-
print The color: 'c:r' 'c:g' 'c:b'
33+
print The color: 'c:R' 'c:G' 'c:B'
2834
}
2935
// Outputs:
30-
// The color: 50 60 90
36+
// The color: 50 60 90
3137
```
3238

33-
34-
![Main Image](https://raw.githubusercontent.com/JBrosDevelopment/EZCode/master/docs/Images/EZCode_Wide_Logo.png)
3539
---
3640

3741
<details open>

0 commit comments

Comments
 (0)