Writing OS-independent programs in Object REXX
If you want to write operating system independent programs using Object
REXX, you should keep the following differences between Object REXX for
OS/2 and Object REXX for Windows 95 / Windows NT in mind:
- in the Windows version, the environment is
process-local
- in the Windows version, host commands are executed
in a new process
- on Windows 95, host commands always return 0
- Object REXX on Windows does not support SOM, and the
DBCS support is not documented
- in both versions (Win95 and OS/2) you should use VALUE(
envVarName, envVarValue, 'ENVIRONMENT' ) to set or read environment
variables
- in both versions (Win95 and OS/2) you should use VALUE(
envVarName, .NIL, 'ENVIRONMENT' ) to delete an environment variable
More information about Object REXX for the Windows platform can be found
at the Object REXX home page (see Internet
- Web Pages).
[Back: Using Object REXX and the WPS]
[Next: Adding Object REXX Support to a maintenance partition]