1. what error?
- Posted by Kat <gertie at PELL.NET> Mar 01, 2001
- 436 views
Robert, what does this mean? source line is too long {"Some 40-50 ships blocked the Hook of Holland, gateway to Rotterdam port, for almost eight hours. Municipal authorities went to court to force the ships to move but the protest ended just before t in ex.err. I was hardcoding in a couple sentences of text, into a sequence, and it exw won't accept the line. What do i do? Read them in from a disk file, right? Kat
2. Re: what error?
- Posted by Michael Sabal <mikes at notations.com> Mar 01, 2001
- 418 views
You'll have to break the string into multiple lines, like this: {"Some 40-50 ships blocked the Hook of Holland, " & "gateway to Rotterdam port, for " & "almost eight hours. Municipal authorities " & "went to court to force the ships to move but " & "the protest ended just before ..."} HTH, Michael J. Sabal >>> gertie at PELL.NET 03/01/01 01:58PM >>> Robert, what does this mean? source line is too long {"Some 40-50 ships blocked the Hook of Holland, gateway to Rotterdam port, = for=20 almost eight hours. Municipal authorities went to court to force the ships = to move but=20 the protest ended just before t in ex.err. I was hardcoding in a couple sentences of text, into a = sequence, and it exw=20 won't accept the line. What do i do? Read them in from a disk file, right? Kat
3. Re: what error?
- Posted by kwibus at ZONNET.NL Mar 01, 2001
- 441 views
Never thought that Dutch fishermen could even invoke errors in computer programs! Sterk spul, hè? ----- Original Message ----- From: "Kat" <gertie at PELL.NET> To: "EUforum" <EUforum at topica.com> Sent: Thursday, March 01, 2001 7:58 PM Subject: what error? > Robert, what does this mean? > > source line is too long > {"Some 40-50 ships blocked the Hook of Holland, gateway to Rotterdam port, for > almost eight hours. Municipal authorities went to court to force the ships to move but > the protest ended just before t > > in ex.err. I was hardcoding in a couple sentences of text, into a sequence, and it exw > won't accept the line. What do i do? Read them in from a disk file, right? > > Kat > > >
4. Re: what error?
- Posted by Kat <gertie at PELL.NET> Mar 01, 2001
- 431 views
On 1 Mar 2001, at 11:45, kwibus at ZONNET.NL wrote: > Never thought that Dutch fishermen could even invoke errors in computer > programs! > > Sterk spul, hè? Mij verrichten niet vinden zij geleid welk. Kat > ----- Original Message ----- > From: "Kat" <gertie at PELL.NET> > To: "EUforum" <EUforum at topica.com> > Sent: Thursday, March 01, 2001 7:58 PM > Subject: what error? > > > > Robert, what does this mean? > > > > source line is too long > > {"Some 40-50 ships blocked the Hook of Holland, gateway to Rotterdam port, > for > > almost eight hours. Municipal authorities went to court to force the ships > to move but > > the protest ended just before t > > > > in ex.err. I was hardcoding in a couple sentences of text, into a > sequence, and it exw > > won't accept the line. What do i do? Read them in from a disk file, right? > > > > Kat > > > > > > > > > >
5. Re: what error?
- Posted by Euman <euman at bellsouth.net> Mar 01, 2001
- 413 views
I just finished a discussion about this very same thing with Robert. Kat, you'll find that Strings cannot be longer than 197 chars.. What might help you is to take a look at incbm.e which Graeme Burke was so kind to share or ask him if you could have a copy of incsesf.e for includeing sequences. incbm.e by the way is not just for bitmaps it has a utility included for sequences 1D & 2D named incseq I'm sure you could add this to your favorite editor to recognise and parse stings automatically as I've done which makes .exe's somewhat smaller and is a get around for the limitation of Euphoria. Euman ----- Original Message ----- From: "Kat" <gertie at PELL.NET> To: "EUforum" <EUforum at topica.com> Sent: Thursday, March 01, 2001 13:58 Subject: what error? | Robert, what does this mean? | | source line is too long | {"Some 40-50 ships blocked the Hook of Holland, gateway to Rotterdam port, for | almost eight hours. Municipal authorities went to court to force the ships to move but | the protest ended just before t | | in ex.err. I was hardcoding in a couple sentences of text, into a sequence, and it exw | won't accept the line. What do i do? Read them in from a disk file, right? | | Kat | | | |
6. what error?
- Posted by Kat <KSMiTH at PELL.NET> Jan 12, 2000
- 412 views
I am puzzled,, i don't understand the error after this code, the displayseq() works fine, the sprint() gives that error... for loop = 1 to length(text) do -- displayseq({sentword[loop]} & " " & sentword_syntax[loop] & {"\n"}) sprint(1,sentword[loop] & " " & sentword_syntax[loop] & "\n") end for -- loop = 1 to length(text) do Syntax error - expected to see possibly 'end', not a function sprintf(1,sentword[loop] & " " & sentword_syntax[loop] & "\n") What is it trying to tell me? Kat
7. Re: what error?
- Posted by "Lucius L. Hilley III" <lhilley at CDC.NET> Jan 12, 2000
- 427 views
You need to assign sprint() to something. print(1, "Hello") --Correct sprint(1, "Hello") --Incorrect s = sprint("Hello") -- Correct s = sprint(1, "Hello") --Incorrect.. sprint only takes 1 parameter. Lucius L. Hilley III lhilley at cdc.net +----------+--------------+--------------+ | Hollow | ICQ: 9638898 | AIM: LLHIII | | Horse +--------------+--------------+ | Software | http://www.cdc.net/~lhilley | +----------+-----------------------------+ ----- Original Message ----- From: Kat <KSMiTH at PELL.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Wednesday, January 12, 2000 1:10 AM Subject: what error? > ---------------------- Information from the mail header ----------------------- > Sender: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> > Poster: Kat <KSMiTH at PELL.NET> > Subject: what error? > -------------------------------------------------------------------------- ----- > > I am puzzled,, i don't understand the error after this code, the > displayseq() works fine, the sprint() gives that error... > > for loop = 1 to length(text) do > -- displayseq({sentword[loop]} & " " & sentword_syntax[loop] & {"\n"}) > sprint(1,sentword[loop] & " " & sentword_syntax[loop] & "\n") > > end for -- loop = 1 to length(text) do > > Syntax error - expected to see possibly 'end', not a function > sprintf(1,sentword[loop] & " " & sentword_syntax[loop] & "\n") > > What is it trying to tell me? > > Kat >
8. Re: what error?
- Posted by Ad Rienks <kwibus at ZONNET.NL> Jan 12, 2000
- 437 views
- Last edited Jan 13, 2000
Kat, 'sprint' and 'sprintf' are not procedures, but functions, returning a sequence (string) of characters. They should be used accordingly, for instance: s = sprint(123) -- s is now "123" ----- Oorspronkelijk bericht ----- Van: Kat <KSMiTH at PELL.NET> Aan: <EUPHORIA at LISTSERV.MUOHIO.EDU> Verzonden: woensdag 12 januari 2000 7:10 Onderwerp: what error? > I am puzzled,, i don't understand the error after this code, the > displayseq() works fine, the sprint() gives that error... > > for loop = 1 to length(text) do > -- displayseq({sentword[loop]} & " " & sentword_syntax[loop] & {"\n"}) > sprint(1,sentword[loop] & " " & sentword_syntax[loop] & "\n") > > end for -- loop = 1 to length(text) do > > Syntax error - expected to see possibly 'end', not a function > sprintf(1,sentword[loop] & " " & sentword_syntax[loop] & "\n") > > What is it trying to tell me? > > Kat