Manifest constants using 'manifest' keyword?

"Jérôme M. Berger" jeberger at free.fr
Fri Dec 21 09:49:08 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matti Niemenmaa wrote:
> Derek Parnell wrote:
>> Until one gets to know what it means, "manifest" looks like a noun
>> rather than an adjective. I can just see newbies saying things like ...
>> "what is a 'manifest'" when confronted with stuff like ...
>>
>> manifest 
>> {
>>    int Foo;
>>    long Bar;
>> }
> 
> Alright, I'll bite. What /is/ manifest meant to mean here?
> 
	I'd bet for a compilation error ;) A correct declaration would be:

manifest
{
   int Foo = 42;
   long Bar = 4242;
}

		Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
|    mailto:jeberger at free.fr      | ICQ:    238062172            |
|    http://jeberger.free.fr/     | Jabber: jeberger at jabber.fr   |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHa/yUd0kWM4JG3k8RAkSrAJ93OOnhYr8qoDPAZHDC6dTkgBPNRwCfWDRu
xA5HZoo2pP2P4uThBvIuqTo=
=ifht
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list