$FUNCNAME$
  ASCAN()
$CATEGORY$
  ARRAY
$SUMMARY$
  Scan an array
$LANG_RU$
	 
$SYNTAX$
	ASCAN(<aArr>, <Expression>, [<nStart>], [<nCount>], [lBack])	--> <nStoppedAt>
$ARGUMENTS$
	<aArr>		Array, is the target array
	<Expression>	is either a simple value to scan for, or code block
	<nStart>	Numeric, is the start element to scan.
	<nCount>	Numeric, is the number element to scan from the starting position.
	<lBack>		Logical, if TRUE - scan from end of array (default FALSE)
$LANG_RU$
	<aArr>		Array,  
	<Expression>	      .
	<nStart>	Numeric,   .
	<nCount>	Numeric,    ,    .
	<lBack>		Logical,  TRUE -     (  FALSE).
$RETURNS$
	Returns a numeric value representing the array position of the last
	element scanned.
$LANG_RU$
	  ,     
	 .
$DESCRIPTION$
	ASCAN() scanns an array  <aArr> for a value <Expression> or until a code block <Expression> returns TRUE
	and uses for comparions operator (=).
$LANG_RU$
	ASCAN()   <aArr>     <Expression> 
	   <Expression >  TRUE.
	ASCAN()     (=).

$EXAMPLES$
	arr := {"Ann", "Mary", "Jhon", "Suzi"}
	ASCAN(arr, "Mary")    //	--> 2
$PECULIARITIES$
	In CLIP add new parameters <lBack> for scanning array from back.
$LANG_RU$
	 CLIP    <lBack>     .
$PLATFORMS$
   No dependies of platform.
   $LANG_RU$
      
$SEEALSO$
$AUTHOR$
ITK
   $LANG_RU$

$END$
