Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Asc FunctionThis standard VB function returns an integer corresponding to the ANSI code of the first character in the specified string. SyntaxReturnsAn integer corresponding to the ANSI code of the first character in the argument. UsageTo change an ANSI code to string characters, use Chr. ExampleThis example asks the user for a letter and returns its ANSI value. Sub Button_Click See Also |
Siebel VB Language Reference |