1. SEQUENCE SIZE
- Posted by shepardmar at yahoo.com Oct 10, 2003
- 378 views
hI: I am a student, and new to Euphoria. I was experimenting with the language, and I notice that if I put in a sequence a long string,it refuses the string. sequence story story = "I walked toward the beach to watch the sunlight, when I was the flash at sea, I move close to see what it was, to my surprise it was a mermaid holding a mirror, while combing her hair................" the editor says.. line too long in visual basic, you can but this easily with no problem, I tried breaking the string,,, but no good. the manual says there is no limit to size. No other string under 10 characters of this string has a problem. is there a way to have a sequence containing bits like this to access from the program while keeping the size of the string intact? I was trying to have several sequences containing strings, and then accessing them from the sequence story[c] --- c = 78 - story fragments any ideas how to put a string that long? or is there a better way? I would appreciate the advice. Many thanks Martin
2. Re: SEQUENCE SIZE
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Oct 10, 2003
- 395 views
On Fri, 10 Oct 2003 00:33:33 +0000, shepardmar at yahoo.com wrote: sequence story story =3D "I walked toward the beach to watch the sunlight, when I "& "saw the flash at sea, I move close to see what it was, to my "& "surprise it was a mermaid holding a mirror, while combing "& "her hair................" I had to ask that question too when I first started. Regards, Pete
3. Re: SEQUENCE SIZE
- Posted by Wolf <wolfritz at KING.IGS.NET> Oct 10, 2003
- 369 views
> I am a student, and new to Euphoria. I was experimenting with the > language, and I notice that if I put in a sequence a long string,it > refuses the string. As you've discovered, the maximum line length in EU source code is about 198 characters, so, as Pete mentioned, you'll have to concatenate, ( using & ), to build up strings that require more 'line-space'. Sequences can hold strings of any length, but Euphoria's source-code-line-parser can't...