I don't know if it is right or not, but when i put this line in my code, it worked:
Code:
box[i].name = _chr(read);



I was trying to copy the string from the text file to box[i].name, but str_cpy doesn't work for me. It gave me the error: "Invalid arguments".
Code:
str_cpy(box[i].name,read);



So how can I copy it properly?

Last edited by NNH; 05/15/13 11:30.