瀏覽代碼

Update documentation

David Peter 2 年之前
父節點
當前提交
9570b0eaaf
共有 1 個文件被更改,包括 5 次插入0 次删除
  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
 print(2 km/h)
+print(3 ft < 1 m)
 ```
 
 ## Testing
@@ -40,4 +41,8 @@ You can use the builtin `type` procedure to see the type (or physical dimension)
 >>> type(g0)
 
   Length / Time²
+
+>>> type(2 < 3)
+
+  bool
 ```