Skip to content

Commit ecdb451

Browse files
Update README.md
1 parent e93db93 commit ecdb451

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ make ^int {NAME} {VALUE} => var {NAME} new : {VALUE}
77
// which is the valid way to create class instance
88
99
// color class that stores R, G, B values
10-
// looks for c[R, G, B] and turns that into a new color instance
10+
// looks for c[R G B] and turns that into a new color instance
1111
class color {
12-
explicit watch c\[{R}, {G}, {B}\] => set : R, G, B
12+
explicit watch c\[{R} {G} {B}\] => set : R, G, B
1313
int R 0
1414
int G 0
1515
int B 0
@@ -20,8 +20,8 @@ class color {
2020
}
2121
}
2222
23-
// prints color with the new instance of color class c[50, 60, 90]
24-
printColor : c[50, 60, 90]
23+
// prints color with the new instance of color class c[50 60 90]
24+
printColor : c[50 60 90]
2525
2626
method printColor : @color:c {
2727
print The color: 'c:r' 'c:g' 'c:b'

0 commit comments

Comments
 (0)