Page 1 of 1

Convert Hexadecimal to Decimal

Posted: Wed Nov 06, 2019 4:25 am
by PedroAlex
Hello.

Does Alaska xBase have any functions to convert Hexadecimal to decimal?

I have a hexadecimal string to send to the printer.
Can I send directly in hexadecimal or should I convert to decimal?

Many thanks.

Re: Convert Hexadecimal to Decimal

Posted: Wed Nov 06, 2019 6:53 am
by rdonnay
eXpress++ has DC_Hex2Dec() and DC_Dec2Hex().

Xbase tools has HexToStr() and StrToHex().

Re: Convert Hexadecimal to Decimal

Posted: Mon Nov 11, 2019 5:41 am
by PedroAlex
Roger,
Many thanks for the feedback.

I take the opportunity to put another difficulty that I found.

I have a small program to receive data from a client.exe program via websocket.
This program is for a Customer DualDisplay POS system.
The program AbDisplay.exe receive de data but I need to refresh the getlist without clicking the button.
What I want is that when data is entered the abdisplay autorefresh the getlist.

This is possible!? can you take a look on this!?

Many thanks again..