I tell ya, these script-er guys leaving out ")" and ";" ..
I say shoot them all..
Actually jabedbd, in my 3drad i believe 3drad told me it was line 24 that had the error, maybe 23.
Thats a known issue with the script editor, it says error on a line, but when you debug the script, you'll find the error can may be actually 1 or 2 lines before the line reported as having the error.
another bug is when you CTRL+Z to undo script changes and go one step to far... the script editor will back up completely to a blank page ( which is technically the beginning point of the script editing process.
Form our point of view it looks like the script editor editor deleted all our script, which it did... but.... DO NOT PRESS [ok] else you will overright your script.
Press cancel instead and reopen the script and all your script will be there.
So your mite be wondering ... what if i did press ok and it looks like all your script has been lost...
( this has happened to me and i didn't know what was going on and re-wrote my script from scratch, cursing 3drad the whole time..
Before you uninstall 3drad in frustration....
click [project>open] on the file box select [up one level] then select [system] folder then select [undo] folder, now click [view icon] and select [detail] view ( if not already selected) then click [date modified] until the most recent date is at the top of the list.
The second file down ( i believe it is ) will be your original project before the script was deleted.
( if that undo project isn't the proper one, then just repeat this process and open the next oldest undo version till you get back your deleted script).
And one major warning here, do not make any more changes to your project once the script editor deletes your script....
Doing so will overwrite all the undo backup copies...
Because 3drad creates a new backup copy every time you make any change to the project.