Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(3f)



INDEX(3F)               COMMAND REFERENCE               INDEX(3F)



NAME
     index, rindex, lnblnk, len - tell about character objects

SYNOPSIS
     (intrinsic) function index (string, substr)
     character*(*) string, substr

     integer function rindex (string, substr)
     character*(*) string, substr

     function lnblnk (string)
     character*(*) string

     (intrinsic) function len (string)
     character*(*) string

DESCRIPTION
     Index (rindex) returns the index of the first (last)
     occurrence of the substring substr in string, or zero if it
     does not occur.  Index is an f77 built-in intrinsic
     function; rindex is a library routine.

     Lnblnk returns the index of the last nonblank character in
     string. This is useful since all f77 character objects are
     fixed length, and blank padded.

     Intrinsic function len returns the size of the character
     object argument, string.

FILES
     Index and len are reinerated in-line by the f77 compiler.

     /usr/lib/libF77.a
                    f77 intrinsic function (math) and startup
                    library.

SEE ALSO
     intro(3f).

















Printed 3/13/89                                                 1



%%index%%
na:288,109;
sy:397,2547;
de:2944,1024;
fi:3968,401;
se:4369,123;
%%index%%000000000098

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026