POV-Ray : Newsgroups : povray.general : using comments: a visual problem in the editor window : Re: using comments: a visual problem in the editor window Server Time
25 Apr 2024 17:32:01 EDT (-0400)
  Re: using comments: a visual problem in the editor window  
From: jr
Date: 1 Dec 2017 07:24:56
Message: <5a214a18$1@news.povray.org>
hi,

On 30/11/2017 20:12, clipka wrote:
> Am 30.11.2017 um 18:52 schrieb jr:
>> wrt nested comments
>> perhaps the SDL could get a (multi line) #comment ... #end construct?  I
>> think that would make commented-out comments (if support continues) easy
>> to use and see, and "look" tidy.

> I presume you would use `#comment ... #end` to temporarily disable
code.[*]
> We can already use `#if(0) ... #end` for that purpose, which has pretty
> much the same semantics as a `#comment ... #end` would presumably have.

yes.  like #if(0) ... #end, but semantically meaningful.

> ([*] Introducing a new `#comment ... #end` block comment syntax for
> actual comments, just to facilitate co-opting the already-existing `/*
> ... */` block comment syntax for purposes it wasn't originally designed
> for, would be perverting things, IMO.)

see above.


regards, jr.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.