blob: 318366ac7efc23767c78ed7df384cc30073e8087 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
include <ctype.h>
# STRLWR -- Convert string to lower case.
procedure strlwr (a)
char a[ARB]
int ip
begin
do ip = 1, ARB
if (a[ip] == EOS)
break
else if (IS_UPPER(a[ip]))
a[ip] = TO_LOWER (a[ip])
end
|