gray text in SED, script stopped working ='(

Posted By: 4gottenname

gray text in SED, script stopped working ='( - 06/07/09 18:36

I'm using the free SED script editor and Lite-C. The script I've been working on suddenly turned gray from line 122 to the end at 363. Only the begining still has colored text and works but when I try to run it it complains about all the missing (grey) parts.
I tried copy and paste to an other new script but that didn't help. Is this a bug or did I do some idiotic newbie misstake? How to save my days work? Please advice! cry
I also had problems saving my scripts so I always use a template (copy and rename)and save it instead of using the "save as". Sorry if this already posted, the search function didn't give me any results and I don't have the energy to look thru every post myself...
Posted By: Quad

Re: gray text in SED, script stopped working ='( - 06/07/09 18:54

you have a syntax error, possibly forgot to add " at the end of a string.

post your code , you can get better help
Posted By: 4gottenname

Re: gray text in SED, script stopped working ='( - 06/07/09 19:21

ARGH! yes you're right. was missing a " , " in one of my button lines >_< That's embarrasing. Wish you could delete your own posts...
Weird that one little mistake like that will gray out the rest of the code... Oh well, will know what to look for next time. Thanx for the quick reply! smile
Posted By: Quad

Re: gray text in SED, script stopped working ='( - 06/07/09 19:49

it's not weird, if you don't finish your string and add " at the end, it will consider the rest of your code as string (which is shown gray by default) until it reaches a "
© 2024 lite-C Forums