#Display array in Textlaabel
3 messages · Page 1 of 1 (latest)
testarray.push_front(rndumber.text)
print(testarray)
updatetestarray()
updatetestarray()
Label.text = str(testarray)
Here is a small structure. Random number goes into the array. The func gives the label or the richtextbox the info. So far it works, but it comes out with the brackets.
Replace 'Label.text=str(testarray)' with
var teststr = str(testarray)
teststr = teststr.replace("[","")
teststr = teststr.replace("]","")
teststr = teststr.replace("\"","")
Label.text = teststr