Thanks Jukka<br><br>A good work around and does sound like a better way of organising my main map file (which is now over 12 000 lines).<br><br>Thanks<br><br>Matt  :)<br clear="all">
<br><br><div class="gmail_quote">On Mon, Nov 28, 2011 at 3:54 PM, Rahkonen Jukka <span dir="ltr">&lt;<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
A workaround is to write the large section into separate text file and add it into the main mapfile with INCLUDE. Then there would be only one line to comment out. I am nowadays adding almost all layers as includes. It makes it easy to re-use the same layers in several mapfiles.<br>

<br>
-Jukka Rahkonen-<br>
________________________________<br>
<div><div></div><div class="h5">Matt McClelland wrote:<br>
<br>
<br>
&gt; Hi All<br>
<br>
&gt; I notice you can comment one line in a mapfile using a #<br>
&gt; Is there a way of commenting out a large section like in PHP where you use /*    */ ??<br>
&gt; It would be handing when working on large map files.<br>
<br>
 &gt; Matt  :)<br>
<br>
</div></div>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br>