Returns the numeric ASCII value of a specified character.

Syntax

<oRef>.asc(<expC>)

<oRef>

A reference to a String object.

<expC>

The character whose ASCII value you want to return. You can specify a string with more than one character, but dBASE Plus uses only the first one.

Property of

String

Description

Other than the syntactic difference of being a method instead of a function, this method behaves identically to the ASC( ) function.