1. Weird Error I Can't Diagnose
- Posted by cklester <cklester at yahoo.com> Oct 21, 2004
- 491 views
- Last edited Oct 22, 2004
There's very little difference in the code below, but one works and the other doesn't... What am I overlooking?! This code works:
without warning include TSInternet.ew include TSMisc.ew constant URLS = { "http://www.rapideuphoria.com" } STRING Dest_dir
This doesn't:
without warning include TSInternet.ew include TSMisc.ew constant URLS = { {"http://123.45.678.90/files/getform.esp?rrc_p-1.dot"}, {"rrc_p-1.dot"} } STRING Dest_dir ...
For that code, I get this error: Syntax error - expected to see possibly 'end', not a type STRING dest_full_fname ^ -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/
2. Re: Weird Error I Can't Diagnose
- Posted by Michael Raley <thinkways at yahoo.com> Oct 21, 2004
- 480 views
- Last edited Oct 22, 2004
cklester wrote: > > There's very little difference in the code below, but one works and the > other doesn't... What am I overlooking?! > > This code works: > }}} <eucode> > without warning > include TSInternet.ew > include TSMisc.ew > > constant URLS = > { > "<a href="http://www.rapideuphoria.com">http://www.rapideuphoria.com</a>" > } > > STRING Dest_dir > </eucode> {{{ > This doesn't: > }}} <eucode> > without warning > include TSInternet.ew > include TSMisc.ew > > constant URLS = > { > {"<a > href="http://123.45.678.90/files/getform.esp?rrc_p-1.dot">http://123.45.678.90/files/getform.esp?rrc_p-1.dot</a>"}, > {"rrc_p-1.dot"} > } </eucode> {{{ <snip> I would think the unbalanced qoutes would be a problem.
3. Re: Weird Error I Can't Diagnose
- Posted by cklester <cklester at yahoo.com> Oct 21, 2004
- 477 views
- Last edited Oct 22, 2004
Michael Raley wrote: > I would think the unbalanced qoutes would be a problem. EUforum is screwing up the code... I copied it below with eucode tags. Works: without warning include TSInternet.ew include TSMisc.ew constant URLS = { "http://www.rapideuphoria.com" } STRING Dest_dir Works not: without warning include TSInternet.ew include TSMisc.ew constant URLS = { {"http://216.59.196.71/files/getform.esp?rrc_p-1.dot"}, {"rrc_p-1.dot"} } STRING Dest_dir -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/
4. Re: Weird Error I Can't Diagnose
- Posted by CoJaBo <cojabo at suscom.net> Oct 21, 2004
- 489 views
- Last edited Oct 22, 2004
One cklester wrote: > > Michael Raley wrote: > > > I would think the unbalanced qoutes would be a problem. > > EUforum is screwing up the code... I copied it below with eucode tags. > > Works: > > without warning > include TSInternet.ew > include TSMisc.ew > > constant URLS = > { > "<a href="http://www.rapideuphoria.com">http://www.rapideuphoria.com</a>" > } > > STRING Dest_dir > > Works not: > > without warning > include TSInternet.ew > include TSMisc.ew > > constant URLS = > { > {"<a > href="http://216.59.196.71/files/getform.esp?rrc_p-1.dot">http://216.59.196.71/files/getform.esp?rrc_p-1.dot</a>"}, > {"rrc_p-1.dot"} > } > > STRING Dest_dir > > -=ck > "Programming in a state of EUPHORIA." > <a > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a> >
5. Re: Weird Error I Can't Diagnose
- Posted by CoJaBo <cojabo at suscom.net> Oct 21, 2004
- 455 views
- Last edited Oct 22, 2004
CoJaBo wrote: > > One Oops...! Accidentaly clicked send(not hard to do with a touchpad!) One time Euphoria started acting very weird, I had found it had gotten currupt or infected with a virus, try downloading it again. Other than that, I don't see anything wrong with the cod. > > cklester wrote: > > > > Michael Raley wrote: > > > > > I would think the unbalanced qoutes would be a problem. > > > > EUforum is screwing up the code... I copied it below with eucode tags. > > > > Works: > > > > without warning > > include TSInternet.ew > > include TSMisc.ew > > > > constant URLS = > > { > > "<a > > href="http://www.rapideuphoria.com">http://www.rapideuphoria.com</a>" > > } > > > > STRING Dest_dir > > > > Works not: > > > > without warning > > include TSInternet.ew > > include TSMisc.ew > > > > constant URLS = > > { > > {"<a > > href="http://216.59.196.71/files/getform.esp?rrc_p-1.dot">http://216.59.196.71/files/getform.esp?rrc_p-1.dot</a>"}, > > {"rrc_p-1.dot"} > > } > > > > STRING Dest_dir > > > > -=ck > > "Programming in a state of EUPHORIA." > > <a > > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a> > > >
6. Re: Weird Error I Can't Diagnose
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Oct 22, 2004
- 516 views
On Thu, 21 Oct 2004 14:02:58 -0700, cklester <guest at RapidEuphoria.com> wrote: <snip> > } > >STRING Dest_dir >Syntax error - expected to see possibly 'end', not a type > STRING dest_full_fname > ^ Thinking laterally, I can get a similar error from: } if 1 then STRING Dest_dir Also, the interpreter handles shrouded sources, in which the keywords are replaced by unusual characters, below #20 or above #7E. Hence if there is a funny character somehow in the text file it may cause the above message. Try blocking the text from the } to the S, deleting and re-entering it. Regards, Pete