|
From: Leif M. <le...@ta...> - 2003-07-25 02:25:09
|
Paul Casanova wrote: >Hi Leif, > >The latter idea (##) seems the most logical since most programming >conventions use a double whatever to escape and use the whatever! > >Eg, in VB an & is used to specify an accelarator key in menus buttons etc, >so && escapes this and shows "&" in the menu button etc. > >The only issue might be where people have a string of #'s used to highlight >an area of code in a conf file, eg >########################### IMPORTANT CODE ###########################. > It should be ok, each double ## would be reduced to single #, then first single # would be interpreted as a comment. In addition, any line which starts with a # would still be a comment unless it was #include I'll have to test it, but I think the above example should be ok. Cheers, Leif |