End of file issues- what happens if I quit without saving? (solved)

Started by Sparky, Thu 29/03/2007 08:19:04

Previous topic - Next topic

Sparky

When I try to test the project I'm working on I get an EOF error. I've read in previous threads that this is likely a typo like a missing semicolon, or an issue with braces.

The problem is, the error is in the global script. I'm not sure where in its ponderous depths the error is. I've looked for an hour or so, manually checking areas I've recently edited and using the 'match brace' function, but it seems like I'm not going to find the error any time soon.

I'm considering just reverting to the last saved version. If I were to close the document without saving, how much progress would I lose? Would it revert to the last point I ran a test? Would it revert to the way it was before the AGS editor was first opened?

Khris

Don't you get a line number along with the error message? Maybe in warnings.log?
Quitting without saving will revert all room-unrelated stuff to the way it was when you opened AGSEdit, yes. But you wouldn't loose any room changes, since those are saved in the roomx.crms seperately.

Sparky

Thanks for your reply- I unfortunately had to quit without saving, but I've since rewritten all the lost changes. Luckily I was doing dialog, and the original draft of everything is safe in a notebook.

Maybe I'm remembering this wrong, but I don't recall a script line number in the error message itself. Choosing to fix the error via the button in the error dialog took me to the top of the global script.

Your helpful suggestions have been filed for future use. It's good to know exactly what is lost when you don't save changes. I'll also remember to check warnings.log the next time I have an EOF problem, that sounds helpful.

Pumaman

What is the exact error message? Depending on what it says exactly, we may be better placed to help.

SMF spam blocked by CleanTalk