hi everyone,
I have a strange problem with strings. Using corona in windows everything works fine, but when I load main.lua in Mac something happen to string concatenation. I read the file name from a txt file and use it to get the full path to image location, for example, after reading the string “test1” I use it to get the following one:
local path = “image/otherFolder/” … theString … “.png”
Corona say that can’t find the image:
.png)NG: Failed to find image (image/otherfolder…" …
It seems that “.png” string is concatenated in a wrong location
I used “…” and string.format(%s…) both won’t works. May be a problem due to big/little endian?
Thanks,
Alex
[import]uid: 76885 topic_id: 25875 reply_id: 325875[/import]