[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: New long comments in 5.1
- From: Romulo Bahiense <romulo@...>
- Date: Fri, 18 Jun 2004 16:22:24 -0300
> What about using something like the "here file" syntax from Unix?
> this is a long comment
> this is a long string
I'm with you. It could be one more option.
PHP uses `heredoc´ this way:
$var = <<<IDENTIFIER
anything you want here
Of course it only handles strings, but '--<<<' would be acceptable.
Maybe Brazilian keyboards are different
It is not 'that' different -- well, not my ABNT2 at least ;)
Before I get slammed... I know
that /* can certainly be used in C/C++ code.
Just not the latter, */
It is not common as '[[' and ']]' is. So, it would be another option.