Putting quotes in wysiwyg strings

Bill Baxter wbaxter at gmail.com
Wed Nov 22 08:35:56 PST 2006


Lionello Lunesu wrote:
> Oh, by the way:
> 
> "
>     if (k & e.Shift) { ret ~= ""Shift""; }
>     if (k & e.Ctrl)  { if (ret) ret~=""|""; ret ~= ""Ctrl""; }
>     if (k & e.Alt)   { if (ret) ret~=""|""; ret ~= ""Alt""; }
>     if (!ret) ret = ""None"";
> "
> 
> ;)

Yep, that looks quite reasonable (with the addition of an 'r' in front).
I wish it worked.  :-(

--bb



More information about the Digitalmars-d mailing list