Hex to dec (not RGB related)

Hi

I’m doing a simple hex converter with a input window(hex) and output window(dec)

Currently i’m using a simple script on a button to covert the hex to dec

on (release) {
outputBox = parseInt(inputBox, 16);
}

This is ok if you want to convert one hex number at a time, what i want to do
is input lots of hex values (in the input window) and convert them to dec (to
the output window) in one go.

All help is appreciated

4Real