28 th Jun 2022 21:29:06
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
Asc Function Asc Function
Conversion Functions Convertion Functions
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
 
Description  Syntax  Return Datatype  Example  Migration

Chr Function - Visual Basic 6.0 (VB 6.0)

Returns a String containing the character associated with the specified character code.
Syntax:
Chr(charcode)
Parameter Description
charcode The required charcode argument is a Long that identifies a character.

Return Data type:
String.
Example:
Statement Result Remark
Chr(65) A  
Chr(97) a  
Chr(90) Z  
Chr(122) z  
Chr(80) P  
Chr(80.5) P  
Chr(80.9) Q  
Chr(50) 2  
Chr(47) /  
Chr(44) ,  
Chr(32)   Single Space
Chr(0)   VBNullChar - Empty String
Chr(256) Error Invalid procedure call or argument (Allow only 0 - 255)
Chr(Null) Error Invalid use of Null
Chr(True) Error Invalid procedure call or argument
Chr(False)   VBNullChar - Empty String
Go to top

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





© 2021 Chennaiiq.com. All Rights Reserved.

4428