add samples for ch21
This commit is contained in:
parent
5fb7d361cf
commit
8dcbd48e1c
@ -1 +0,0 @@
|
|||||||
true+false
|
|
6
samples/ch21_print.lox
Normal file
6
samples/ch21_print.lox
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
print 1 + 2;
|
||||||
|
print 3 * 4;
|
||||||
|
print (1+1)*2;
|
||||||
|
print "true" == "false";
|
||||||
|
print nil == nil;
|
||||||
|
print !(5 - 4 > 3 * 2 == !nil);
|
Loading…
Reference in New Issue
Block a user