Browse Source

Update documentation

David Peter 2 years ago
parent
commit
9570b0eaaf
1 changed files with 5 additions and 0 deletions
  1. 5 0
      book/src/procedures.md

+ 5 - 0
book/src/procedures.md

@@ -6,6 +6,7 @@ Numbat has a builtin `print` procedure that can be used to print the value of an
 
 
 ```nbt
 ```nbt
 print(2 km/h)
 print(2 km/h)
+print(3 ft < 1 m)
 ```
 ```
 
 
 ## Testing
 ## Testing
@@ -40,4 +41,8 @@ You can use the builtin `type` procedure to see the type (or physical dimension)
 >>> type(g0)
 >>> type(g0)
 
 
   Length / Time²
   Length / Time²
+
+>>> type(2 < 3)
+
+  bool
 ```
 ```