Yes, i programmed it to print both to the terminal and the simulator. But it doesn’t matter, it won’t even open the file. It’s not like it runs a blank program; the file is grayed out completely, it won’t open at all. [import]uid: 51881 topic_id: 8761 reply_id: 31924[/import]
All I know about this is that it has to be named exactly “main.lua”. Anything else will be grayed out. [import]uid: 34108 topic_id: 8761 reply_id: 31926[/import]
What text editor are you using? Last week I was helping someone else and realized they were saving as Rich Text instead of plain text, because they were using TextEdit and that defaults to Rich Text. [import]uid: 12108 topic_id: 8761 reply_id: 31945[/import]
I was using TextEdit on the Mac, saving as Plain Text with only the extension .lua.
The name of the file was main.lua, saved in plain text. After typing it I copy pasted the code to make sure I wasn’t screwing up something somewhere. It simply won’t open the file. [import]uid: 51881 topic_id: 8761 reply_id: 32218[/import]
Try taking a step back and going through the Corona Quick Start Guide, line-by-line, even the section where it walks you through downloading TextWrangler: