Variable Declaration Location? lazarus / 13-General ---------------------------------------------------------------------- SteveF · 2009-01-04 22:46 If I needed to hold a value -- such as a username and/or password -- which would be referenced by code associated with several different forms, where should the declaration of the variable take place? Enlightenment appreciated, Steve Frye ---------------------------------------------------------------------- Bart · 2009-01-04 23:14 You might do it in a seperate unit that then is used by all units that need this. Bart ---------------------------------------------------------------------- SteveF · 2009-01-05 22:54 Yes, thanks for the tip.  I'm still learning how to "think" and plan things here, so a unit that was "used" by all the others should work. Steve Frye