*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> f90/len (3)              
Title
Content
Arch
Section
 

Contents


LEN(3F)								       LEN(3F)


NAME    [Toc]    [Back]

     len - return length of Fortran string

SYNOPSIS    [Toc]    [Back]

     character*N ch
     integer i

     i = len(ch)

DESCRIPTION    [Toc]    [Back]

     len returns the length of string ch.












































									Page 1



LEN(3I)						       Last changed: 1-6-98

NAME    [Toc]    [Back]

     LEN - Determines the length of a character	string

SYNOPSIS    [Toc]    [Back]

     LEN ([STRING=]string)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The LEN intrinsic function	takes Fortran character	string arguments
     and returns an integer length.  This function accepts the following
     argument:

     string    Must be of type character.  It can be scalar or array
	       valued.

     LEN is an inquiry function.  The name of this intrinsic can be passed
     as	an argument.

RETURN VALUES    [Toc]    [Back]

     The result	type, type parameter, and shape	are default integer scalar.
     The result	has a value equal to the number	of characters in string	if
     it	is a scalar or in an element of	string if it is	array valued.

EXAMPLES    [Toc]    [Back]

     The following program returns the length of the character string I=37:

	  PROGRAM LENTEST
	  I=LEN('|...+....1....+....2....+....3....+..')
	  PRINT	*,I
	  STOP
	  END

SEE ALSO    [Toc]    [Back]

      
      
     Intrinsic Procedures Reference Manual, publication	SR-2138, for the
     printed version of	this man page.

LEN(3I)						       Last changed: 1-6-98

NAME    [Toc]    [Back]

     LEN - Determines the length of a character	string

SYNOPSIS    [Toc]    [Back]

     LEN ([STRING=]string)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The LEN intrinsic function	takes Fortran character	string arguments
     and returns an integer length.  This function accepts the following
     argument:

     string    Must be of type character.  It can be scalar or array
	       valued.

     LEN is an inquiry function.  The name of this intrinsic can be passed
     as	an argument.

RETURN VALUES    [Toc]    [Back]

     The result	type, type parameter, and shape	are default integer scalar.
     The result	has a value equal to the number	of characters in string	if
     it	is a scalar or in an element of	string if it is	array valued.

EXAMPLES    [Toc]    [Back]

     The following program returns the length of the character string I=37:

	  PROGRAM LENTEST
	  I=LEN('|...+....1....+....2....+....3....+..')
	  PRINT	*,I
	  STOP
	  END

SEE ALSO    [Toc]    [Back]

      
      
     Intrinsic Procedures Reference Manual, publication	SR-2138, for the
     printed version of	this man page.

[ Back ]
 Similar pages
Name OS Title
strcspn Tru64 Return length of initial segment of string
strspn Tru64 Return length of initial segment of string
XmTextGetCenterline HP-UX Return the height (length) of a character string when the writing direction is vertical
wcscspn Tru64 Return the length of the initial segment
wcsspn Tru64 Return the length of the initial segment
index IRIX return location of FORTRAN substring
index IRIX return location of FORTRAN substring
mclock IRIX return Fortran time accounting
getarg IRIX return Fortran command-line argument
inet6_opt_finish Tru64 Return the total length of an IPv6 extension header, including padding, and initialize the option
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service