Yan, Charlene wrote:
All,
I need to rewrite some ASP codes in Java. What are the Java equivalent to Asc(String) and Hex(Number) in VB? I appreciate any insight from you!
I don't know VB. I assume Hex(Number) transforms the number to hexadecimal. You can get the hexadecimal representation of a binary number like so:
int x = 4; String hexOf4 = Integer.toHexString(x); // becomes "0x4"
What does Asc(String) do?
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]