Reply
Reply | Flag | Categorize
Xeda Elnara 07 Feb 2013 20:01
Xeda Elnara

Moderator

FA

Guest

I believe you want a command to convert decimal to hexadecimal? You can do this, where A is the number to convert:

"0→Str1
While A
sub("0123456789ABCDEF",1+16fPart(A/16),1)+Str1→Str1
iPart(A/16→A
End
If Str1≠"0
sub(Str1,2,length(Str1)-1

Hopefully that works ^^'

Attachment:

Make a reply:

To use the style buttons, click on the one you want, then press Ctrl+V.


This is the Redirect module that redirects the browser directly to the "http://snippets.wdfiles.com/local--code/code:url-title-with-slash-redirect/2#http://tibasicdev.wikidot.com/post:131" page.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial-No Derivative Works 2.5 License.