Kachar ganyalong Posted March 10, 2017 Share Posted March 10, 2017 I've read this http://www.unigui.com/doc/online_help/importance-of-memory-managemen.htmand don't understand because it is a bit complicating. How can I simply store session's string variable(currentuser:string)? unit MainModule;interfaceuses uniGUIMainModule, SysUtils, Classes;type TUniMainModule = class(TUniGUIMainModule) procedure UniGUIMainModuleCreate(Sender: TObject); private { Private declarations } currentuser:string; // can I store session variable like this on UniMainModule? public { Public declarations } end;function UniMainModule: TUniMainModule;implementation{$R *.dfm} Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 10, 2017 Share Posted March 10, 2017 Hi, Yes you can store variables in MainModule. Quote Link to comment Share on other sites More sharing options...
Kachar ganyalong Posted March 10, 2017 Author Share Posted March 10, 2017 Hi, Yes you can store variables in MainModule. thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.