Putting quotes in wysiwyg strings

renox renaud.hebert at free.fr
Wed Nov 22 12:09:44 PST 2006


Bah, I feel that putting any fixed delimitor for string is bond to create a
problem for some user whether it is simple, double quotes..

Why not reuse a good idea from the shell: <<FOO .... FOO
putting a customisable end-of-text word can avoid many problem.

Sure this makes the parser a bit more complex, but not that much..
So for D it would be something like:
r <word>" ... "<word> where word is some text without space
or r(<word>)" .... "<word>  or the same thing but with a keyword "raw" instead of r.

Comments?

RenoX



More information about the Digitalmars-d mailing list