Re: Re: [ZEND-ENGINE-CVS] cvs: Zend / zend.h
| From: | (Marcus Börger) | Date: | Tue, 13 Aug 2002 15:19:59 +0000 |
| Subject: | Re: Re: [ZEND-ENGINE-CVS] cvs: Zend / zend.h | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-13319@lists.php.net to get a copy of this message | ||
At 17:15 13.08.2002, Stanislav Malyshev wrote:
The ## is only provided to generate variables or functionnames from more than one define parameter. Say: #define call(module, func, param) (module ## "_" ## func(param)) call(mod, test, p) -> mod_test(p) This cannot be done without ## marcusZS>> "foo" ## "bar" == foobar ZS>> "foo" "bar" == "foobar"ZS>> ZS>> I'm not sure how "foo" ## "bar" is defined (if at all), but it really ZS>> doesn't look right :) Actually, it _should_ both give "foobar". I don't know why it gave it without quotes... YES!