aboutsummaryrefslogtreecommitdiff
path: root/sys/etc/itob.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/etc/itob.x')
-rw-r--r--sys/etc/itob.x14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/etc/itob.x b/sys/etc/itob.x
new file mode 100644
index 00000000..e01c6302
--- /dev/null
+++ b/sys/etc/itob.x
@@ -0,0 +1,14 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# ITOB -- Convert integer to boolean.
+
+bool procedure itob (integer_value)
+
+int integer_value
+
+begin
+ if (integer_value == NO)
+ return (false)
+ else
+ return (true)
+end