OK I apologize in advance for this newbie question.

When doing the liteC workshops, if I run the code form the workshop it runs fine. However, if I type the code in I get a "Main Script not found - check Preferences" error.
I have checked the preferences and the location of my include files are right.

I have gone through the sed help file and couldn't find the answer.

Has anyone experienced this and what do I do to fix it?

Thanks in advance.