PDA

View Full Version : Error, End Of Script Encountered - Solved



warlord57
12-17-2007, 10:53 PM
It has been compiling fine until now, All of the sudden I get this error after making corrections in my code.

Error, End Of Script Encountered While Attempting To Parse Macro Parameter

Any ideas on what is causing it? All I did in editing it was change some variable values and changed what the the string the log function would display.

Edit: I fixed it, Apparently 'log() doesn't like @ and $ in the ()

Wormbo
12-18-2007, 07:59 AM
Nothing wrong with @ and $, as long as you use them correctly, like any other operator.

ambershee
12-18-2007, 08:43 AM
The error is caused by lack of string block operators or missing parenthesis. Check your syntax.

Jrubzjeknf
12-18-2007, 09:45 AM
Edit: I fixed it, Apparently 'log() doesn't like @ and $ in the ()

That's a first. I always debug with statements like:

[code]`log("variable:"@variable);[/quote]

I think the cause of your error lies somewhere else than the usage of @ or $ in the log statement.

warlord57
12-18-2007, 10:40 AM
yea I did something wrong so I rewrote the line and it worked lol thats what happens when you are tired and programming