What is defined as pseudo-functions
Moderator: Rathinagiri
What is defined as pseudo-functions
I want to know more about "defined as pseudo-functions"
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: What is defined as pseudo-functions
Please look at here.bpd2000 wrote:I want to know more about "defined as pseudo-functions"
Happy HMG'ing

Viva INTERNATIONAL HMG 

Re: What is defined as pseudo-functions
Hi,bpd2000 wrote:I want to know more about "defined as pseudo-functions"
It is a very powerful feature of Harbour compiler.
Pseudo-functions are used extensively in HMG Extended Edition for reducing of memory consuming and diminish of minigui's core.
For example, there are the following useful definitions in the header i_pseudofunc.ch:
instead of using 6 (six) different functions.#xtranslate GetEscapeState () ;
=> ;
GetKeyState( VK_ESCAPE )
#xtranslate GetAltState () ;
=> ;
GetKeyState( VK_MENU )
#xtranslate IsInsertActive () ;
=> ;
( GetKeyState( VK_INSERT ) > 0 )
#xtranslate IsCapsLockActive () ;
=> ;
( GetKeyState( VK_CAPITAL ) > 0 )
#xtranslate IsNumLockActive () ;
=> ;
( GetKeyState( VK_NUMLOCK ) > 0 )
#xtranslate IsScrollLockActive () ;
=> ;
( GetKeyState( VK_SCROLL ) > 0 )
Hope that useful

Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: What is defined as pseudo-functions
Thank you Esgici and Grigory Filatovgfilatov wrote:Hi,bpd2000 wrote:I want to know more about "defined as pseudo-functions"
It is a very powerful feature of Harbour compiler.
Pseudo-functions are used extensively in HMG Extended Edition for reducing of memory consuming and diminish of minigui's core.
esgici wrote:Please look at here.bpd2000 wrote:I want to know more about "defined as pseudo-functions"
Happy HMG'ing
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: What is defined as pseudo-functions
Thanks Grigory 
By the way, are you returned from holiday ?
We are worried about you and your country
I wish emergency and permanent peace and independence to your country and people
Kind regards
Dave;
about preprocessor, this page also may be useful to you
Viva HMG

By the way, are you returned from holiday ?
We are worried about you and your country

I wish emergency and permanent peace and independence to your country and people

Kind regards
Dave;
about preprocessor, this page also may be useful to you

Viva HMG

Viva INTERNATIONAL HMG 

Re: What is defined as pseudo-functions
Hi Esgici,esgici wrote:Thanks Grigory
By the way, are you returned from holiday ?
We are worried about you and your country![]()
I wish emergency and permanent peace and independence to your country and people![]()
...
Viva HMG
Yes, I've returned already from Nederlands (peaceful place). And I've published a new HMG EE build today

Thanks for your attention to Ukrainian problems. And let God helps us in this toilsome time...
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein