Page 2 of 2

Re: IsWin64 Bit

Posted: Sun Apr 24, 2016 4:31 pm
by mol
srvet_claudio wrote:I will include:

Code: Select all

#xtranslate HMG_IsWin64() => IF( EMPTY( GetEnv( "ProgramW6432" ) ), .F., .T. )
Thanks Dave.
I think

Code: Select all

#xtranslate HMG_IsWin64() =>  .not. EMPTY( GetEnv( "ProgramW6432" ) )
will be enough :-)

Re: IsWin64 Bit

Posted: Sun Apr 24, 2016 5:02 pm
by srvet_claudio
mol wrote:
srvet_claudio wrote:I will include:

Code: Select all

#xtranslate HMG_IsWin64() => IF( EMPTY( GetEnv( "ProgramW6432" ) ), .F., .T. )
Thanks Dave.
I think

Code: Select all

#xtranslate HMG_IsWin64() =>  .not. EMPTY( GetEnv( "ProgramW6432" ) )
will be enough :-)
Yes, this way is more compact but is more difficult for debug purpose in .ppo files.
I think your way is better with a Function that with #xtranslate.