[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 01 August 2002 10:15 am, Simon Waters wrote:
I can stick "extern short a[2] ;" in a common header file, and "short a[2] = { 7 , 0 };". Is there any way to tell the compiler this is constant elsewhere, so nothing can change it?
extern const short a[]; const short a[2] = { 7, 0 }; ? ~ Theo - -- Theo Zourzouvillys http://zozo.org.uk/ Q: What do you call the scratches that you get when a female sheep bites you? A: Ewe nicks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9SP+z448CrwpTn6YRAobJAKDUBJ50vHqXQcouCpCJ5A611vKmFQCg4FPD yGMNgp4/SlCWVeV68fZKAlc= =0m0O -----END PGP SIGNATURE----- -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.