Re: Interpreter Mod We Can All Get Behind
- Posted by c.k.lester <euphoric at ckle?te?.com> Nov 21, 2007
- 630 views
Bernie Ryan wrote: > c.k.lester wrote: > > Bernie Ryan wrote: > > > And How about a line continuation symbol > > > Example: > > > "This is a long string that I want to continue on the next line __ > > > so I can just use the two underscores to continue it on this line" > > Why would you want that? Euphoria already ignores line breaks in code > > so you can do something like > > "This is a long string that I want to continue on the next line " > > & "so I can just use the two underscores to continue it on this line" > So I can do this which I think is less confusing: > > record("MyStructure", "__ > item1 long 1 __ > item2 pointer 1 __ > rect STRUCT RECT __ > item3 byte 10 > item4 uint 1 __ > ") > > Underscores are only allowed inside of identifiers. > If they are inside a string they would be ignored. What is an "identifier?" And you put them in a string in your example, so I still don't get it.