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

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

Contents


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

NAME    [Toc]    [Back]

     VERIFY - Verifies that a set of characters	contains all characters	in
     a string

SYNOPSIS    [Toc]    [Back]

     VERIFY ([STRING=]string, [SET=]set	[,[BACK=]back])

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The VERIFY	intrinsic function verifies that a set of characters
     contains all characters in	a string by identifying	the first character
     position in a string of characters	that does not appear in	a given	set
     of	characters.  VERIFY accepts the	following arguments:

     string    Must be of type character variable.

     set       Must be of type character variable, expression, or constant.

     back      Must be of type logical.	 If back is omitted, a value of
	       false is	assumed.

     VERIFY is an elemental function.  The name	of this	intrinsic cannot be
     passed as an argument.

RETURN VALUES    [Toc]    [Back]

     The result	is an integer.

     If	back is	absent or is present with a value FALSE	and string contains
     at	least one character that is not	in set,	the value of the result	is
     the position of the leftmost character of string that is not in set.

     If	back is	present	with a value TRUE and if string	contains at least
     one character that	is not in set, the value of the	result is the
     position of the rightmost character of string that	is not in set.

     VERIFY returns 0 if each character	in string is in	set, or	if the
     length of string is 0.

EXAMPLES    [Toc]    [Back]

     Example 1:	 The statement VERIFY('ABBA', 'A') returns the value 2.

     Example 2:	 The statement VERIFY('ABBA', 'A', BACK=.TRUE.)	 returns
     the value 3.

     Example 3:	 The statement VERIFY('ABBA', 'AB') returns the	value 0.

SEE ALSO    [Toc]    [Back]

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

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

NAME    [Toc]    [Back]

     VERIFY - Verifies that a set of characters	contains all characters	in
     a string

SYNOPSIS    [Toc]    [Back]

     VERIFY ([STRING=]string, [SET=]set	[,[BACK=]back])

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The VERIFY	intrinsic function verifies that a set of characters
     contains all characters in	a string by identifying	the first character
     position in a string of characters	that does not appear in	a given	set
     of	characters.  VERIFY accepts the	following arguments:

     string    Must be of type character variable.

     set       Must be of type character variable, expression, or constant.

     back      Must be of type logical.	 If back is omitted, a value of
	       false is	assumed.

     VERIFY is an elemental function.  The name	of this	intrinsic cannot be
     passed as an argument.

RETURN VALUES    [Toc]    [Back]

     The result	is an integer.

     If	back is	absent or is present with a value FALSE	and string contains
     at	least one character that is not	in set,	the value of the result	is
     the position of the leftmost character of string that is not in set.

     If	back is	present	with a value TRUE and if string	contains at least
     one character that	is not in set, the value of the	result is the
     position of the rightmost character of string that	is not in set.

     VERIFY returns 0 if each character	in string is in	set, or	if the
     length of string is 0.

EXAMPLES    [Toc]    [Back]

     Example 1:	 The statement VERIFY('ABBA', 'A') returns the value 2.

     Example 2:	 The statement VERIFY('ABBA', 'A', BACK=.TRUE.)	 returns
     the value 3.

     Example 3:	 The statement VERIFY('ABBA', 'AB') returns the	value 0.

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
curs_inwstr IRIX get a string of wchar_t characters from a curses window
lcharstr IRIX draws a string of characters
curs_instr IRIX get a string of characters from a curses window
charstr IRIX draws a string of characters
strspn Linux search a string for a set of characters
strpbrk Linux search a string for any of a set of characters
mvinstr Tru64 Get a string of characters from a Curses window
strpbrk OpenBSD locate multiple characters in string
curs_addwchs IRIX add string of wchar_t characters (and attributes) to a curses window
winstr Tru64 Get a string of characters from a Curses window
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service