That's very strange. There are no syntactical limitations in the free version of Lite-C. Here are some possible causes/solutions:

-Instal the latest release of Lite-C (1.03)
-Check your code right before lines that produce errors. There might be something wrong that is the true cause of these errors.
-If you have multiple instalations of gamestudio and/or lite-c, make sure you are running the right SED, or you might invoke the wrong engine. I've had such problems before. Make sure you open the SED from C:\program files\litec, not GStudio6.

The 3 things you mentioned all work fine here. Try running them in a very small test project. If that doesn't work, reinstal Lite-C.