28 th Jun 2022 21:17:57
Hai Friend , Sign In
Home
World
INDIA
Chennai City
Games
Developers
Members
Birthday
Search
Astrology
G. K.
Story
Tamil Nadu Government Holiday List 2018 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 84894 28 444.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
Chr Function Chr Function
Conversion Functions Convertion Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

Asc Function - Visual Basic 6.0 (VB 6.0)

Returns an Integer representing the character code corresponding to the first letter in a string.
Syntax:
Asc(string)
Parameter Description
string Required. A string expression.

Return Data type:
Integer
Example:
Statement Result Remark
Asc("A") 65  
Asc("a") 97  
Asc("Asp") 65  
Asc("Z") 90  
Asc("z") 122  
Asc("P") 80  
Asc("2") 50  
Asc(2) 50  
Asc(22) 50  
Asc(",") 44  
Asc(" ") 32 Space
Asc("") Error Invalid procedure call or argument
Asc(Null) Error Invalid use of Null
Asc(True) 84 True ("T")
Asc(False) 70 False("F")
Go to top

Migration from Visual Basic 6.0 (VB 6.0) to
  Asc Function in VB Script (VBS)
  Asc Function in JScript (JS)
  Asc Function in ASP (Active Server Page)
  Asc Function in PHP Script
  Asc Function in MS-Access
  Asc Function in MS SQL Server
  Asc Function in Oracle
  Asc Function in C Language
  Asc Function in C++ Language
  Asc Function in Foxpro
  Asc Function in Fortran
  Asc Function in MS Excel Sheet
Go to top
 





© 2021 Chennaiiq.com. All Rights Reserved.

4255