file_path is an integer variable.
file_path$ is a string variable.
In your program, file_path will contain the value of zero, not the string data "data/items/00" + file_num + ".ITM"
Make the change jhocking said, and it will work.
file_path$ is a string variable.
In your program, file_path will contain the value of zero, not the string data "data/items/00" + file_num + ".ITM"
Make the change jhocking said, and it will work.