Thanks for the replies.

So it is indeed possible to end an array with something like this

`while(numdigits > 0) //this function writes the individual numbers to the array outArray`

{

outArray[counta] = (answer/(pow(10,(numdigits-1)))); //takes the answer, divides by 10^(number of digits - 1) which gives the num digits, but I don't know how to multiply something by not 10...

answer = answer - (outArray[count]*pow(10, (numdigits-1)));

numdigits = numdigits - 1;

count ++;

}

if(numdigits == 0)

{

byte END = 255

outArray[count] = END

}

I set that array to 16 earlier, so that's the largest it could possibly get, I can write to the array like that correct?

Thanks a lot for the replies again.

I'll check that itoa out later, sounds cool.