Actually looked into this a while back, and have a "bits.kix" that tested the logic that was presented in the whitepaper.

As it relies on env vars, it's only useful for local processing, unlike WMI. There's actually two examples of the same thing shown below - inline code and a UDF.
 Code:
Break On
If InStr('%PROCESSOR_ARCHITECTURE% %PROCESSOR_ARCHITEW6432%', 'AMD64')
  '64-bit' ?
Else
  '32-bit' ?
EndIf

CPUArchitecture() ?

Function CPUArchitecture()
  $CPUArchitecture = IIf(InStr('%PROCESSOR_ARCHITECTURE% %PROCESSOR_ARCHITEW6432%', 'AMD64'), 'x64', 'x86')
EndFunction

Glenn
_________________________
Actually I am a Rocket Scientist! \:D