Category talk:REXX: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Hostname example: new section)
No edit summary
Line 1: Line 1:
{{stub}}

== Hostname example ==
== Hostname example ==


Line 6: Line 4:


The only Rexx interpreter I have to hand is ooRexx & it produces the username for userid() which is what I would expect. Perhaps someone could test this on Regina &/or mainframe interpreters. --[[User:Sahananda|Sahananda]] 20:04, 15 June 2012 (UTC)
The only Rexx interpreter I have to hand is ooRexx & it produces the username for userid() which is what I would expect. Perhaps someone could test this on Regina &/or mainframe interpreters. --[[User:Sahananda|Sahananda]] 20:04, 15 June 2012 (UTC)

:I agree. I just tried with ooRexx and Regina on Mac OS X and on CMS in z/VM. '''&quot;<nowiki>say userid()</nowiki>&quot;''' doesn't return the host name; it returns the user ID. (No surprise there though!) -[[User:Alansam|Alansam]] 01:46, 16 June 2012 (UTC)

Revision as of 01:46, 16 June 2012

Hostname example

I think this is wrong. The userId bif does not necesarily return the hostname (although they may be the same).

The only Rexx interpreter I have to hand is ooRexx & it produces the username for userid() which is what I would expect. Perhaps someone could test this on Regina &/or mainframe interpreters. --Sahananda 20:04, 15 June 2012 (UTC)

I agree. I just tried with ooRexx and Regina on Mac OS X and on CMS in z/VM. "say userid()" doesn't return the host name; it returns the user ID. (No surprise there though!) -Alansam 01:46, 16 June 2012 (UTC)