Variables

dat dat at hpcnoe.UUCP
Wed Nov 21 14:45:00 AEST 1984


	Also, a standard mechanism to avoid collision of variables in
libraries with those in the calling program is to use leading under-
lines...so you could have the library structured like;

	static int	_myvar1, _myvar2;

	<routines>

and so on.  This is REALLY useful if your library has lots of
variables!

					Dave Taylor
-----------
"These opinions represent very little of worth, but they are worthwhile!"
						-- Dr. Littleton, Esq.



More information about the Comp.lang.c mailing list