Asc and Chr?
There is no Asc(+AscW) or Chr(+ChrW) in Visual Basic Libraries.
Asc
AscW
Chr
ChrW
I don't know how these forums work, but, is there any way to suggest these methods
-or-
Is there any alternatives to this problem?
Thanks in advance.
They aren't working by default?
This may be a bug in our template projects, if you right click on the core references folder in the IDE can you add the Microsoft.VisualBasic Library?
That should fix the issue I think.
Also if you are looking to cast/convert a char to get its ASCII value between 0-255, converting it to a byte will usually work, or you could convert it to an unsigned integer to get it's wide character value...
And you should also be able to do the reverse to get a char from it's decimal value.
The Convert class can probably help with this.
They aren't working by default?
This may be a bug in our template projects, if you right click on the core references folder in the IDE can you add the Microsoft.VisualBasic Library?
That should fix the issue I think.
Also if you are looking to cast/convert a char to get its ASCII value between 0-255, converting it to a byte will usually work, or you could convert it to an unsigned integer to get it's wide character value...
And you should also be able to do the reverse to get a char from it's decimal value.
The Convert class can probably help with this.
-----------------
Tim Speed
Compilr Developer and CTO