Re: [PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-18 Thread Mehdi Achour
Gabor Hojtsy wrote: The way he did it is perfectly acceptable too and the preferred way as it looks much better. OK, so correct RFC/coding_standards please. I think that this is one of the questions, that will not be jusged fixed anytime soon. As far as I can see, people will not be punished f

Re: [PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-17 Thread Gabor Hojtsy
The way he did it is perfectly acceptable too and the preferred way as it looks much better. OK, so correct RFC/coding_standards please. I think that this is one of the questions, that will not be jusged fixed anytime soon. As far as I can see, people will not be punished for using C style commen

[PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-17 Thread Nuno Lopes
nlopess Wed Dec 17 10:37:53 2003 EDT Modified files: /phpdoc/en/reference/math/functions decbin.xml Log: added newline Index: phpdoc/en/reference/math/functions/decbin.xml diff -u phpdoc/en/reference/math/functions/decbin.xml:1.6 phpdoc/en/reference/math/functi

Re: [PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-17 Thread Jakub Vrana
>> Should I echo \n or ? Or don't print the newlines? > I would make it: > echo decbin(12)."\n"; Me to. But I'm sure that Mehdi wish spaces around dot :-). echo decbin(12) . "\n"; Jakub Vrana

Re: [PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-17 Thread Derick Rethans
On Wed, 17 Dec 2003, Nuno Lopes wrote: > >echo decbin(12); > >echo decbin(26); > > > >outputs 110011010 so there should be probably some newlines in echo. > > Thats correct, but the examples I've seen must don't echo \n. > > Should I echo \n or ? Or don't print the newlines? I would make it: e

Re: [PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-17 Thread Nuno Lopes
>echo decbin(12); >echo decbin(26); > >outputs 110011010 so there should be probably some newlines in echo. Thats correct, but the examples I've seen must don't echo \n. Should I echo \n or ? Or don't print the newlines? Nuno

Re: [PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-17 Thread Jakub Vrana
> The way he did it is perfectly acceptable too and the preferred way as > it looks much better. OK, so correct RFC/coding_standards please. Jakub Vrana

Re: [PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-17 Thread Derick Rethans
On Wed, 17 Dec 2003, Jakub Vrana wrote: > For this short output will be also probably better simpler method than > as RFC/coding_standards say: > > "For very short example printouts, use C++ style comment (//) on the > line where the output occurs, or in the description above the line: The way h

Re: [PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-17 Thread Jakub Vrana
> + > + I'm the same newbie as you but I think that output should correspond to reality. echo decbin(12); echo decbin(26); outputs 110011010 so there should be probably some newlines in echo. For this short output will be also probably better simpler method than as RFC/coding_standards say:

[PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-16 Thread Nuno Lopes
nlopess Tue Dec 16 14:15:14 2003 EDT Modified files: /phpdoc/en/reference/math/functions decbin.xml Log: corrected example Index: phpdoc/en/reference/math/functions/decbin.xml diff -u phpdoc/en/reference/math/functions/decbin.xml:1.5 phpdoc/en/reference/math/fu

Re: [PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-16 Thread Dave
On Wednesday, December 17, 2003, 4:55:01 AM, Nuno wrote: > + > + > + > + > + The above example will output: > + > + > + > > + > + > + Note that also needs no spaces before it. Also, the examples/screen outputs shouldn't be aligned t

[PHP-DOC] cvs: phpdoc /en/reference/math/functions decbin.xml

2003-12-16 Thread Nuno Lopes
nlopess Tue Dec 16 12:55:01 2003 EDT Modified files: /phpdoc/en/reference/math/functions decbin.xml Log: added example Index: phpdoc/en/reference/math/functions/decbin.xml diff -u phpdoc/en/reference/math/functions/decbin.xml:1.4 phpdoc/en/reference/math/functi