aboutsummaryrefslogtreecommitdiff
path: root/unix/boot/spp/rpp/ratlibr/cupper.r
diff options
context:
space:
mode:
Diffstat (limited to 'unix/boot/spp/rpp/ratlibr/cupper.r')
-rw-r--r--unix/boot/spp/rpp/ratlibr/cupper.r14
1 files changed, 14 insertions, 0 deletions
diff --git a/unix/boot/spp/rpp/ratlibr/cupper.r b/unix/boot/spp/rpp/ratlibr/cupper.r
new file mode 100644
index 00000000..9a39cf21
--- /dev/null
+++ b/unix/boot/spp/rpp/ratlibr/cupper.r
@@ -0,0 +1,14 @@
+include defs
+
+# cupper - change letter to upper case
+
+ character function cupper (c)
+ character c
+
+ if (c >= LETA & c <= LETZ)
+ cupper = c + (BIGA - LETA)
+ else
+ cupper = c
+
+ return
+ end