home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Oakland CPM Archive
/
oakcpm.iso
/
cpm
/
cug
/
softt-3.lbr
/
INDEX.DOC
< prev
next >
Wrap
Text File
|
1984-07-05
|
640b
|
39 lines
.bp 1
.in 0
.he 'INDEX (2)'11/13/78'INDEX (2)'
.fo ''-#-''
.fi
.in 7
.ti -7
NAME
.br
index - find character c in string str
.sp 1
.ti -7
SYNOPSIS
.br
.nf
loc = index(str, c)
character str(ARB), c
integer loc is returned as the location is str where c was located
.fi
.sp 1
.ti -7
DESCRIPTION
.br
Returns the index of the first character in 'str' that matches 'c',
or zero if 'c' isn't in the array.
'Str' is an ascii character array terminated with an EOS marker.
'c' is a single ascii character.
.sp 1
.ti -7
SEE ALSO
.br
match, getpat
.sp 1
.ti -7
DIAGNOSTICS
.br
None