Re: something wrong......
- Posted by simulat <simulat at INTERGATE.BC.CA> Jul 09, 2000
- 406 views
I dunno Kat I ran this: function test(sequence theurl) if (length(theurl))<1 then return("<error=BadUrlForm>") end if end function sequence a a="" ?(test(a)) and it works fine. Bye Martin ----- Original Message ----- From: Kat <gertie at PELL.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Sunday, July 09, 2000 3:15 PM Subject: something wrong...... > Grrrrrr...... > > i give up, help me? > > this won't run: > > if ( length(theurl) < 1 ) then > return ("<error=BadUrlForm>") > end if > > it gives this error: > > D:\Euphoria\webgetter\webgetter.ew:598 > Syntax error - expected to see possibly 'end', not '(' > return ("<error=BadUrlForm>") > > > 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 >