cfg.FullScreen = false;
cfg.OpenGL = true;
The error is:
ExecuteString (2, 19) : Error : Expected expression value
If I place the two commands on one line it works correctly. I'm aware that this isn't exactly how ExecuteString() was meant to be used, but it provides a quick method of executing small scripts.
Some more info:
"cfg" is a global object of type "Config" with two members, "FullScreen" and "OpenGL" which are both bools. The script is placed in an external file and is used as a configuration file.