News

Old news about BIN$ and HEX$

1

Timo 2019-06-15 11:22 (Edited)

Some of you asked for an additional parameter to set the length of the strings returned by BIN$ and HEX$. Now I also needed it to test something so I wanted to implement it. And guess what... It was already there! I just never mentioned it in the manual and I forgot about it :O

PRINT BIN$(3,8)
>> 00000011

PRINT HEX$(255,4)
>> 00FF

This is available in the current version already, no need to update.


was8bit 2019-06-15 16:23

Oh wow, cool :)

This works as well :)

PB$=BIN$(3,8)
PH$=HEX$(255,4)
PRINT PB$
PRINT PH$


Mrlegoboy 2019-06-15 18:27

Well thats super helpful


Log in to reply.