Hello everyone,
I was just going through this book I had about Internet Programming using Visual Basic 6.0.
I came across this code:
VB Code:
dq = Chr$(34) sq = Chr$(39)
dq and sq are variables
The problem is that I don't understand what Chr$ does and I cannot find an explanation of it in the book. I looked up in the Object Browser of Visual Basic 6.0 and I get the following definiton:
Chr$: Returns a string containing the character associated with the specific character code
Format: Chr$(CharCode As Long)
Now I understand that it returns a string containing the character associated... But all I am attaching are the digits 34 and 39. By these digits seem to be some sort of Character Codes... Could someone please explain what Character Codes are and what these two mean.
Note: If someone can provide me with a list of all character codes and their explanations, I would really appreciated it.
Thank you all in advance.
Khanjan





Reply With Quote