I'm trying to convert a decimal number into a ascii character.
I need to give an ascii command to a device so that's why I need it.
one command is ascii "^_" , which is 31 in decimal.
I tried it but still didn't get any results.
The ascii "^_" (Ctrl _ ) is meant to clear my pole display. When I used the code I got 31 on my display. So actually I needed a function or somethin that would convert decimal numbers into ascii characters...
I hope i can find a sollution for this problem [-o<
Anyways, Lots of thanks to everyone helping me.
I'm still open for suggestions.
Comments
http://www.BiloBeauty.com
http://www.autismspeaks.org
But how does it work?
will write a Carriage Return (CR) into a text variable.
I'm trying to convert a decimal number into a ascii character.
I need to give an ascii command to a device so that's why I need it.
one command is ascii "^_" , which is 31 in decimal.
Char := 31;
MyText := FORMAT(MyChar);
would give your answer.
Are you talking to the device through Serial port?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
It's a Pole display...
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
The ascii "^_" (Ctrl _ ) is meant to clear my pole display. When I used the code I got 31 on my display. So actually I needed a function or somethin that would convert decimal numbers into ascii characters...
I hope i can find a sollution for this problem [-o<
Anyways, Lots of thanks to everyone helping me.
I'm still open for suggestions.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n