Tuesday, September 14, 2010

CHR ($WBFN)

Availability
CHR is available for use with all WBSP commands.
Syntax:
$WBFN[CHR(decnumber)]
Arguments
decnumber - any integer in range 0 to 255.
Description
This function returns a character from the ASCII code of a decimal number.

Example of use

Using $wbfn function with chr() to give a character from ASCII code 65.


Character with ASCII code 65 is $wbfn[chr(65)]!

Result
Character with ASCII code 65 is A
 

No comments:

Post a Comment