Converting bin2hex and hex2bin data within BCX programs?
Kevin Diggins
Sun Jul 12 11:57:18 PDT 2009
--- In BCX at yahoogroups.com, "gsac3" <gsac3 at ...> wrote:
>
> Kevin, Robert, Mike --
>
> Is there a BCX function for converting (within a BCX-coded
> program)bytes of binary file data to hex and vice versa?
>
> I know there are external programs such as BIN2HEX.EXE and
> HEX2BIN.EXE that will accomplish this, but is there a way to effect
> this same kind of input file data conversion within BCX using BCX
> syntax?
>
> Don
Don,
PRINT CHR$(0x41) 'Display "A"
PRINT HEX$(ASC("A")) 'Display "41"
More information about the BCX
mailing list