patch 8.1.1835: cannot use printf() as a method
Problem: Cannot use printf() as a method.
Solution: Pass the base as the second argument to printf().
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 981121f..62bcfc2 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -6739,7 +6739,11 @@
< May result in:
" 99: E42 asdfasdfasdfasdfasdfasdfasdfas" ~
- Often used items are:
+ When used as a |method| the base is passed as the second
+ argument: >
+ Compute()->printf("result: %d")
+
+< Often used items are:
%s string
%6S string right-aligned in 6 display cells
%6s string right-aligned in 6 bytes