04-17-2013, 01:15 PM
1. Can't.
2. _s and _i are local variables that don't have to be declared. Can be used anywhere, for any purpose.
3. _command, _hresult etc don't need to declare too. Each has its specific purpose.
4. A class can have constructor. Look in Help, or create with menu -> New -> Class.
5. Yes, QM destroys a class variable when its scope ends (local - when the function exits, thread - when the thread ends, global - when QM exits or new QM file loaded).
6. Yes.
7.
2. _s and _i are local variables that don't have to be declared. Can be used anywhere, for any purpose.
3. _command, _hresult etc don't need to declare too. Each has its specific purpose.
4. A class can have constructor. Look in Help, or create with menu -> New -> Class.
5. Yes, QM destroys a class variable when its scope ends (local - when the function exits, thread - when the thread ends, global - when QM exits or new QM file loaded).
6. Yes.
7.