NWCharVal

Returns the integer value of a character or a character in a string

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform Localization (LOC*.*)
Service:Internationalization

Syntax

  #include <time.h> or #define NWL_EXCLUDE_TIME 
  #include <stdio.h> or #define NWL_EXCLUDE_FILE 
  #include <nwlocale.h> 
   
  nint N_API NWCharVal  ( 
     const nstr N_FAR  *string); 
  
  

Pascal Syntax

  uses netwin32 
   
  Function NWCharVal 
    (str : pnstr 
  ) : nint; 
  
  

Parameters

string
(IN) Points to a character in a string.

Return Values

Returns the integer value of character pointed to by the string parameter.

Remarks

NWCharVal is useful when comparing the values of two characters. Double-byte characters are handled correctly.

See Also

NWLsetlocale