Jump to content

Recommended Posts

Posted

Message from: "zilav"

 

Hello Frashad!

 

If I have a global vars in units, are they unique to each session, or common

for all sessions?

I'm thinking about placing all global vars in a separate datamodule either

way, just curious.

 

.

 

Posted

Message from: "Farshad Mohajeri"

 

"zilav" wrote in message

news:NkkiQssyLHA.2160@anaxagvs227...

> Hello Frashad!

>

> If I have a global vars in units, are they unique to each session, or

> common for all sessions?

 

If you declare them as TUniMainModule class variables they will global for

same session but invisible to other sessions. Otherwise if you declare as

regular global vars they will be global to all session.

 

 

 

 

 

.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...