#372 SysGetMessage( 0 ) on W2K

3.1.2
closed
nobody
None
5
2012-08-14
2007-07-29
Anonymous
No

Hi, SysGetMessage( 0 ) results in a syntax trap "routine
not found" on a W2K installation of ooRexx 3.1.2 with
version REXX-ooRexx_3.1(MT) 6.01 20 Apr 2007.

Checking the manual I also don't see any rexx.cat in the
ooRexx directory. For classical Rexx on OS/2 the system
message file had a localized "Y N A R I" as message "0",
e.g. "J N " etc. on a German OS/2.

Some of my scripts get the first and second word of
SysGetMessage( 0 ) to support localized "Yes" and "No"
keys.

Frank

mailto:nobody@xyzzy.claranet.de

Discussion

  • Rick McGuire
    Rick McGuire
    2007-07-29

    Logged In: YES
    user_id=1125291
    Originator: NO

    A routine not found error is the correct result. The Windows version of Rexxutils doesn't have a SysGetMessage() function.

     
  • Rick McGuire
    Rick McGuire
    2007-08-03

    Logged In: YES
    user_id=1125291
    Originator: NO

    There were a whole series of OS/2-only functions that got included in the docs when they were converted from the IBM format files to the docbook format. This was recently caught and will be corrected in the 3.2.0 version of the docs.

     
  • Logged In: NO

    Okay, then you can likely guess that I'm now also missing SysQueryProcessCodePage()
    - emulating it with something in the direction of address CMD 'CHCP' is a pain, if
    the code is supposed to work with more than one interpreter under more than one OS.

    Frank

     


Anonymous


Cancel   Add attachments