$FUNCNAME$
	WEIGHTASC()
$CATEGORY$
	INFO,STRING,DATABASE
$SUMMARY$
	Returns the weight characterics of character.
$LANG_RU$
	   .
$SYNTAX$
	WEIGHTASC(<sString>) 	--> <nCode>
$ARGUMENTS$
	<sString>	String, is the source string.
$LANG_RU$
	<sString>	String,  .
$RETURNS$
     Returns the numeric value <nCode> - weight of character into weight table.
$LANG_RU$
       <nCode> -     .
$DESCRIPTION$

	WEIGHTASC() returns the numeric value <nCode> - weight first character of
	source string <sString> into weigth table. This code characterize the position
	character for comparing operation.
$LANG_RU$

	WEIGHTASC()   <nCode> -    
	 <sString>   .      
	 .
$EXAMPLES$

str := "asdf"
wa := WEIGHTASC(str) 	// --> 66

? WEIGHTCHR(wa)		// --> a
? WEIGHTCHR(wa+1)	// --> b
? WEIGHTCHR(wa+10)	// --> k


$PLATFORMS$
	No dependies of platform.
$LANG_RU$
	   
$SEEALSO$
	WEIGHTTABLE(), WEIGHTCHR()
$AUTHOR$
ITK
   $LANG_RU$

$END$

