Re: something wrong......

new topic     » goto parent     » topic index » view thread      » older message » newer message

------=_NextPart_000_0026_01BFE985.35374500
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Kat

I know this probably isn't it, but this exact error occurs if you've=20
accidently used a procedure instead of a function. I do it all the
time when a lot of cut and paste is involved.

Doesn't explain why the second one works though...oh well.

All the best

Mark=20

  ----- Original Message -----=20
  From: Kat=20
  To: EUPHORIA at LISTSERV.MUOHIO.EDU=20
  Sent: Monday, July 10, 2000 7:45
  Subject: something wrong......


  Grrrrrr......

  i give up, help me?

  this won't run:

  if ( length(theurl) < 1 ) then
      return ("<error=3DBadUrlForm>")
    end if

  it gives this error:

  D:\Euphoria\webgetter\webgetter.ew:598
  Syntax error - expected to see possibly 'end', not '('
      return ("<error=3DBadUrlForm>")


  but this does run:

  if equal(color[1],'k') then return ( value("3") &  =
color[2..length(color)]) end if

  So what is going wrong?

  Kat

------=_NextPart_000_0026_01BFE985.35374500
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi Kat</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I know this probably isn't it, but this exact error =
occurs if=20
you've </FONT></DIV>
<DIV><FONT size=3D2>accidently used a procedure instead of a function. I =
do it all=20
the</FONT></DIV>
<DIV><FONT size=3D2>time when&nbsp;a lot of cut and paste is=20
involved.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Doesn't explain why the second one works though...oh =

well.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>All the best</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Mark</FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:gertie at PELL.NET" title=3Dgertie at PELL.NET>Kat</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:EUPHORIA at LISTSERV.MUOHIO.EDU"=20
  title=3DEUPHORIA at LISTSERV.MUOHIO.EDU>EUPHORIA at LISTSERV.MUOHIO.EDU</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, July 10, 2000 =
7:45</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> something =
wrong......</DIV>
  <DIV><BR></DIV>Grrrrrr......<BR><BR>i give up, help me?<BR><BR>this =
won't=20
  run:<BR><BR>if ( length(theurl) &lt; 1 ) then<BR>&nbsp;&nbsp;&nbsp; =
return=20
  ("&lt;error=3DBadUrlForm&gt;")<BR>&nbsp; end if<BR><BR>it gives this=20
  error:<BR><BR>D:\Euphoria\webgetter\webgetter.ew:598<BR>Syntax error - =

  expected to see possibly 'end', not '('<BR>&nbsp;&nbsp;&nbsp; return=20
  ("&lt;error=3DBadUrlForm&gt;")<BR><BR><BR>but this does run:<BR><BR>if =

  equal(color[1],'k') then return ( value("3") &amp;&nbsp;=20
  color[2..length(color)]) end if<BR><BR>So what is going=20

------=_NextPart_000_0026_01BFE985.35374500--

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu