summaryrefslogtreecommitdiff
path: root/05/util.b
diff options
context:
space:
mode:
Diffstat (limited to '05/util.b')
-rw-r--r--05/util.b6
1 files changed, 6 insertions, 0 deletions
diff --git a/05/util.b b/05/util.b
index c5a686c..d37e4de 100644
--- a/05/util.b
+++ b/05/util.b
@@ -369,6 +369,12 @@ function isdigit
if c <= '9 goto return_1
goto return_0
+function isoctdigit
+ argument c
+ if c < '0 goto return_0
+ if c <= '7 goto return_1
+ goto return_0
+
function isalpha
argument c
if c < 'A goto return_0