asc( ) Function

Description:
  The asc() function returns the ASCII code for the character cChar.

Syntax:
  retval = asc ( cChar )

Parameters:
  string: aArray A single character to get the ascii code for.
  variant: retval The ASCII code for the character.

Platforms:
  Windows, DOS, Internet Active Pages



Example:

	local var1, retval                     	// Variables	
	var1 = prompt( "Test Letter", "", 1 )	// Obtain Input Data
	retval = asc( var1 )						

	println( retval )			// print the results to the screen

  

(c) 2000-2001 by West Coast Web Adventures, Inc., All Rights Reserved