HDTenEightyP/NetNews huggingface dataset:
From: neitzel@ips.cs.tu-bs.de (Martin Neitzel)
Subject: Re: TRAC Specification
Summary:  get a freemacs
Organization: Inst. f. Informatik, TU Braunschweig, FRG
Date: Tue, 12 Jan 1993 08:16:32 GMT


[btw, "MINT" stands for "Mint Is Not Trac".]

I can recall a textbook with nice programming programming projects,
one of them being a TRAC interpreter.  The language description is
sufficiently precise to get a feel for trac but it is by far not
a reference manual.

	C. WETHERELL:
	ETUDES FOR PROGRAMMERS
	PRENTICE-HALL
	ENGLEWOOD CLIFFS
	0-13-291807-2
	1978

Russ Nelson's - or was it Nelson Russ? - mint implementation and its
documentation and tutorials coming with his Freemacs are *very* well
done.  I can only support Fred's suggestions, TRAC didn't look different
at all to me.

Martin Neitzel
From: omalley@porte-de-st-ouen.ics.uci.edu (Owen O'Malley)
Subject: Putting strings into executables
Newsgroups: comp.lang.icon
Organization: UC Irvine Department of ICS
Date: 12 Jan 93 18:23:22 GMT

When we release software, we are supposed to include the copyright
both in the source code comments and in the executable. Well, I
released some software written in Icon and I tried including the
string, but when I ran "strings" over the executable it did not find
it. I'm guessing that icont compresses the string literals. Is this
true? Is there a way to avoid it?

  Thanks,

     Owen O'Malley

Department of ICS  | omalley@ics.uci.edu             (ARPA)
UC Irvine          | {ucbvax|sdcsvax}!ucivax!omalley (UUCP)
Irvine, CA 92717   | oomalley@uci                    (BITNET)

Newsgroups: comp.lang.icon
From: rahardj@ccu.umanitoba.ca (Budi Rahardjo)
Subject: Re: Icon for Linux?
Organization: University of Manitoba, Winnipeg, Canada
Date: Thu, 7 Jan 1993 17:29:31 GMT

In <199301061736.AA17247@chuckwalla.cs.arizona.edu> "Clint Jeffery" <cjeffery@cs.arizona.edu> writes:

...
>I'd be happy to discuss details and/or provide assistance by e-mail to
>folks trying to build Icon under Linux.

Could you upload the binaries/diff somewhere for anonymous ftp ?

Thanks
-- budi
-- 
Budi Rahardjo <Budi_Rahardjo@UManitoba.Ca>
Unix Support - Computer Services - University of Manitoba
Newsgroups: comp.lang.icon
Date: Tue, 12 Jan 1993 14:06:54 +0100
From: sperber@soir.informatik.uni-tuebingen.de (Michael Sperber)
Subject: Pattern matching in Icon?

Would it be feasible to have {SML, Miranda, Hope blabla}-style pattern
matching in Icon.  (More specifically, a case state that has patterns
instead of literals in the cases.)  I think it would fit in neatly
with the data constructors Icon has, and greatly increase its
useability for writing things like compilers in Icon, where you want
to branch on the structure of some data object rather than on a
specific object.

What possible extensions/further developments for Icon are under way,
anyway?

Cheers :-> Chipsy

Newsgroups: comp.lang.icon
Date: Wed, 6 Jan 1993 10:36:11 MST
From: "Clint Jeffery" <cjeffery@cs.arizona.edu>
Subject: Icon for Linux?

	Richard Goerwitz writes:
	Anyone hear of Icon running under Linux yet (with X extensions)?

I built Icon under Linux with X extensions over Christmas break using
configuration information supplied some time ago by Charles Hedrick.
[Linux is a free POSIX-compliant UNIX for 386/486 PC's.]

So the basic answer is: it works, with a little effort, and appears
to be very fast.  I wasn't with the Linux machine long enough to run
the test suite or benchmarks.

I'd be happy to discuss details and/or provide assistance by e-mail to
folks trying to build Icon under Linux.

Clint
From: plyon@emx.cc.utexas.edu (Paul Lyon)
Newsgroups: comp.lang.icon
Subject: Re:  MS Windows Version of ICon
Date: 12 Jan 1993 22:42:10 -0600
Organization: The University of Texas at Austin, Austin, Texas
Distribution: inet
NNTP-Posting-Host: emx.cc.utexas.edu

In article <199301121259.AA26913@cheltenham.cs.arizona.edu> "Ralph Griswold" <ralph@cs.arizona.edu> writes:
>As far as I know, nothing substantive has been done toward a
>Microsfot Windows version of Icon.
>    

A few months ago, there was announcement in the this group about
Presentation Manager version of "X icon" being in the works.
What has become of this?

Curious OS/2 user of Icon.


Paul Lyon

Newsgroups: comp.lang.icon
Date: Mon, 11 Jan 93 11:07 EST
From: MYankowski@DOCKMASTER.NCSC.MIL
Subject:  MS Windows Version of ICon

I remember reading about a Microsoft Windows version of Icon.  Is this
work still going on?  Mike

Newsgroups: comp.lang.icon
Date: Tue, 12 Jan 1993 05:59:55 MST
From: "Ralph Griswold" <ralph@cs.arizona.edu>
Subject: Re:  MS Windows Version of ICon

As far as I know, nothing substantive has been done toward a
Microsfot Windows version of Icon.
    
Ralph E. Griswold			ralph@cs.arizona.edu
Department of Computer Science 		 uunet!arizona!ralph
The University of Arizona		602-621-6609 (voice)
Tucson, AZ 85721			602-621-9618   (fax)
From: goer@ellis.uchicago.edu (Richard L. Goerwitz)
Newsgroups: comp.lang.icon
Subject: Icon for Linux?
Date: 6 Jan 93 05:37:05 GMT
Reply-To: goer@midway.uchicago.edu
Organization: University of Chicago

Anyone hear of Icon running under Linux yet (with X extensions)?

-- 

   -Richard L. Goerwitz              goer%midway@uchicago.bitnet
   goer@midway.uchicago.edu          rutgers!oddjob!ellis!goer
Newsgroups: comp.lang.icon
Date: Tue, 5 Jan 1993 09:20:09 MST
From: "Gregg Townsend" <gmt@cs.arizona.edu>
Subject: Icon v8.7 for Solaris 2.0

Version 8.7 of Icon is now available for Sun's Solaris 2.0 operating system.
This implementation uses the OpenWindows X library and does not depend on any
compatibility packages.

Because Solaris does not come with a C compiler, Icon was built using the
Cygnus gcc compiler.  This compiler can be obtained by anonymous FTP from the
vendor/cygnus directory on ftp.uu.net.

Prebuilt binaries can be FTP'd from the /icon/binaries/unix/sun4_solaris
directory on cs.arizona.edu.  Nothing else is needed to use the interpreter;
you will need gcc in your search path to use the compiler.

Source code is available in the directory /icon/packages/unix.  unix_tar.Z
is the standard 8.7 source release;  sun4_solar_g.Z is a configuration
directory for gcc under Solaris.  Both of these are compressed tar files.
The "status" file inside the configuration directory notes some minor source
code changes that are required to build Icon under Solaris.

    Gregg Townsend / Computer Science Dept / Univ of Arizona / Tucson, AZ 85721
    +1 602 621 4325     gmt@cs.arizona.edu     110 57 16 W / 32 13 45 N / +758m
From: FAVERO@BRFUEL.BITNET (Fernando Favero)
Newsgroups: comp.lang.rexx
Subject: YWAKEUP MODULE
Date: 11 Jan 93 12:56:08 GMT
Organization: Fundacao Universidade Estadual de Londrina
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU

Hi....

   I don't have YWAKEUP MODULE. If somebody can send me it, i will thaks...

+-------------------------+--------------------------------------------+
|     FERNANDO FAVERO     | FUNDACAO UNIVERSIDADE ESTADUAL DE LONDRINA |
|   ANALISTA DE SISTEMAS  | ASSESSORIA DE PLANEJAMENTO E CONTROLE      |
|                         | LONDRINA  -  PARANA  -  BRASIL             |
+-------------------------+--------------------------------------------+
|         E-MAIL:  OTHERS = FAVERO%BRFUEL.ANPR.BR@BRFAPESP             |
|                  BITNET = FAVERO@BRFUEL.BITNET                       |
+----------------------------------------------------------------------+
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: comp.lang.rexx
Date:         Mon, 11 Jan 1993 08:51:07 PRT
From:         "Carlos A. C. Sousa" <MCARLOSS@PTEARN.BITNET>
Subject:      rscs msg's

Annybody can tell me how can i trap msgs from rscs?
I thin i must use "IUCVTRAP" but i tried and i cannot do it..
Keep in touch, sincerely,

   ______                                ______
  /    ___    ___    /   ___   ___      /   ___        ___    ___
 /    /  /   /__/   /   /  /  /__       \  /  /  /  / /__    /  /
(___ (__(_  (   \  (__ (__/   __/     ___/(__/  (__/  __/   (__(_

Bitnet Address       : MCARLOSS@PTEARN
Internet Address     : MCARLOSS@PTEARN.FC.UL.PT
Vax Internet address : MCARLOSS@FCVAX1.FC.UL.PT
Math Student at Classical University of Lisbon, Science College
Newsgroups: comp.lang.rexx
From: jbrock@csfb1.fir.fbc.com (John Brock)
Subject: Re:      Lower-case alphabetic set
Reply-To: uunet!csfb1!jbrock
Organization: First Boston Corporation
Date: Mon, 4 Jan 1993 18:14:58 GMT

In article <REXXLIST%93010320580660@OHSTVMA.ACS.OHIO-STATE.EDU>,         Wan Hasan Abdullah <WAN@UTMJB.BITNET> writes:
|> Hello netters!
|> 
|> I found that, there's a function to translate all words to upper case
|> but I could'nt find in HELP REXX to form the words from upper case to
|> lower case by using a function. Could anyone help me to solve this
|> problem?
|> 
|> Thanks in advance.
|> 
|> -WAN-

How about:

  lowercase: procedure
  return translate(arg(1), xrange(), translate(xrange()))

I like this because it is consise and generic.  It should work as it
stands for any language, and it lets me avoid typing out all the upper
and lower case letters by hand (which I think looks ugly, even though
it's clearly more efficient to do it that way).

-- 
John Brock
uunet!csfb1!jbrock
jbrock@csfb1.fir.fbc.com
Newsgroups: comp.lang.rexx
From: giguere@csg.uwaterloo.ca (Eric Giguere)
Subject: Re: Lower-case alphabetic set
Organization: Computer Systems Group, University of Waterloo
Date: Tue, 5 Jan 1993 02:41:52 GMT

In article <johnv.040n@acix.DIALix.oz.au> johnv@acix.DIALix.oz.au (John Verhoeven) writes:
>TRANSLATE(instring,XRANGE('a','z'),XRANGE('A','Z'))

...assuming you're on a system where A-Z and a-z are contiguous ranges...

-- 
 Eric Giguere                                    giguere@csg.UWaterloo.CA
          So is Windows NT short for "Windows, NOT?"
Newsgroups: comp.lang.rexx
Subject: Re: Lower-case alphabetic set
From: Wan Hasan Abdullah <WAN@UTMJB.BITNET>
Date: Tue, 5 Jan 1993 18:43:29 MAL
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU

Dear Netters!

Well, well, well! Most ppl have shown their good response to solve my
problem. Thanx a billion anyway! BTW, all suggestions I have been tried
and I found that it's very helpful.

Thanx.

Regards,

-WAN-
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: comp.lang.rexx
Date:         Mon, 11 Jan 1993 16:18:12 TUR
From:         Nejat Basabas <E47703@TRMETU.BITNET>
Subject:      Re: YWAKEUP MODULE

On Mon, 11 Jan 93 08:49:21 BS3 Fernando Favero said:
>Hi....
>
>   I don't have YWAKEUP MODULE. If somebody can send me it, i will thaks...
I sent it to you .

_____________________________________________________________________
   ____    __      o  __     )    Nejat Basabas e47703@trmetu.bitnet
  /    ) /__ )    / ____) __/__         Metallurgical Engineer
 /    ( (___     / (___/   (       Middle East Technical University
              %_/                          Ankara / Turkiye
_____________________________________________________________________
From: johnv@acix.DIALix.oz.au (John Verhoeven)
Subject: Re: Lower-case alphabetic set
Newsgroups: comp.lang.rexx
X-Newsreader: TIN [version 1.1 PL8]
Date: 4 Jan 93 21:25:16 WST
Organization: ACix - Private UUCP Node, Cloverdale, Western Australia.

David McAnally (acus02@ems13.corp.mot.com) wrote:
> In article <REXXLIST%93010320580660@OHSTVMA.ACS.OHIO-STATE.EDU>  writes:
> > I found that, there's a function to translate all words to upper case
> > but I could'nt find in HELP REXX to form the words from upper case to
> > lower case by using a function. Could anyone help me to solve this
> > problem?

> /* lower case REXX function (opposite of UPPER function) */
> parse arg instring
> return  
> TRANSLATE(instring,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
> )

Or slightly shorter...

TRANSLATE(instring,XRANGE('a','z'),XRANGE('A','Z'))

Newsgroups: comp.lang.rexx
From: anders@lise1.lise.unit.no (Anders Christensen)
Subject: Re: where can I get FAQ for this group ?
Organization: University of Trondheim, Norway
Date: 7 Jan 93 16:51:13

In article <C0HLJs.7FJ@encore.com> tma@encore.com (Thanh Ma) writes:

>  The subject say it all. Also could someone give me the IP address
>  for flipper.pvv.unit.no where I hope the FAQ is.

The IP-address for flipper.pvv.unit.no is 129.241.36.200, but you will
not find the FAQ there. Try ftp-ing to rexx.uwaterloo.ca (IP-address
129.97.208.32), and get the file 'rexxfaq' in the directory 'pub'. 

-anders
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: comp.lang.rexx
Date:         Fri, 8 Jan 1993 12:34:27 MAL
From:         Wan Hasan Abdullah <WAN@UTMJB.BITNET>
Subject:      Correction

Hello Netters,

The top most 5 lines are supposed to be like this. It's not the one that
I wrote before.

/**********************************************************************
 * This is just a short example of REXX program using YWAKEUP module. *
 * FUNCTION: Display all incoming messages from the local nodeid as   *
 *           well as accepting CP/CMS commands                        *
 **********************************************************************/

So sorry for my careless mistake!
Thanks.

-WAN-
Newsgroups: comp.lang.rexx
From: MCMASTER@LSTC2VM.stortek.com (Jim McMaster)
Subject: Re:      Lower-case alphabetic set
Organization: StorageTek SW Engineering
Date: Wed, 6 Jan 1993 15:50:37 GMT

In article <C0E55F.IK5@csfb1.fir.fbc.com>
jbrock@csfb1.fir.fbc.com (John Brock) writes:
 
>In article <C0CDCz.Co3@csfb1.fir.fbc.com>, jbrock@csfb1.fir.fbc.com (John Brock) writes:
>|> In article <REXXLIST%93010320580660@OHSTVMA.ACS.OHIO-STATE.EDU>,         Wan Hasan Abdullah <WAN@UTMJB.BITNET> writes:
>|> |> Hello netters!
>|> |>
>|> |> I found that, there's a function to translate all words to upper case
>|> |> but I could'nt find in HELP REXX to form the words from upper case to
>|> |> lower case by using a function. Could anyone help me to solve this
>|> |> problem?
>|> |>
>|> |> Thanks in advance.
>|> |>
>|> |> -WAN-
>|>
>|> How about:
>|>
>|>   lowercase: procedure
>|>   return translate(arg(1), xrange(), translate(xrange()))
>|>
>|> I like this because it is consise and generic.  It should work as it
>|> stands for any language, and it lets me avoid typing out all the upper
>|> and lower case letters by hand (which I think looks ugly, even though
>|> it's clearly more efficient to do it that way).
>
>I'm responding to my own post, as there have been other posts
>expressing concern about this type of procedure translating
>non-alphabetic characters.
>
>On my system at least, all non-alphabetic characters are unchanged by
>the translate function when used with only one argument.  If this isn't
>part of the language definition it ought to be!  In any case you could
>argue that if c ^== translate(c) for any character c, then c by
>definition has a distinct upper case form, and my lowercase function
>makes sense.
>
>It even makes a certain kind of sense if translate is generalized
>(e.g., mapping a ==> b, b ==> c, and c ==> a), an long as it never maps
>two distinct characters to the same character.
>
>Here is a procedure which checks which characters on a given system
>are affected by the translate function:
>
>  x = xrange()
>  y = ""
>
>  do i = 1 to length(x)
>    c = substr(x, i, 1)
>    if c ^== translate(c) then y = y || c
>    end
>
>  say length(y) y
>
>On my (VM/CMS) system this yields:
>
>  26 abcdefghijklmnopqrstuvwxyz
>
>--
>John Brock
>uunet!csfb1!jbrock
>jbrock@csfb1.fir.fbc.com
 
John...this does not work in the general case.  Your "translate(c)"
uses the default translate tables, which are designed to translate only
lower case alphabetic to upper case alphabetic.
 
The input table "xrange('A','Z')" and output table "xrange('a','z')"
are not at all the same.  You certainly will translate "A" (x'C1') to
"a" (x'81'), but you also translate the backslash (x'E0') to the EBCDIC
superscript character (X'A0').  EBCDIC has a lot of characters
(printable and nonprintable) between the letters I and J, as well as
between R and S, which will also get translated.
 
Your technique would work in an ASCII system, bacause all upper-case
alphabetics are in the range X'41'-X'5A' (with no intermixed
characters), and lower-case alphabetics are X'61'-X'7A'.
 
Jim McMaster
Newsgroups: comp.lang.rexx
From: adufour@ulys.unil.ch
Subject: DOS VERSION settings control in batch files
Organization: University of Lausanne - CH (Switzerland)
Date: Wed, 6 Jan 1993 16:58:21 GMT


I am writing two small rexx batches. My objective is to backup a few system
files, then install a new program/application, then run a second rexx 
program to compare the files and tell what changes have made the newly
installed program.

I saw such batch for DOS, they used the Dos FC.EXE program, to generate the
comparison report. The version of FC.EXE I have does not run in a Dos session
if I don't set the DOS VERSION to FC.EXE,5,00,255 (for example).

The problem is that I was not able to control the DOS VERSION settings of the
new DOS session wich is opened when I "call" my Dos batch (wich contains the
FC.EXE calls).

I am looking for either a solution to set the DOS VERSION from a batch, or for
an OS/2 version of the FC.EXE program.

Any help would be very appreciated...
---------------------------------------------------------------------------
Arnaud Dufour                                 e-mail : adufour@ulys.unil.ch
Assistant/Lan Manager                         tel    :     +41.21.692.41.57
HEC-Inforge/CH-1015 Lausanne-Switzerland      fax    :     +41.21.692.41.50
Newsgroups: comp.lang.rexx
From: MCMASTER@LSTC2VM.stortek.com (Jim McMaster)
Subject: Re: Lower-case alphabetic set
Organization: StorageTek SW Engineering
Date: Wed, 6 Jan 1993 16:03:11 GMT

In article <1993Jan5.064658.4491@schbbs.mot.com>
TCSAR03@waccvm.corp.mot.com (Germain Leutwyler) writes:
 
>Hi,
>
>Here is another routine to translate each letter from uppercase to
>lowercase. You may specify the characters that shouldn'tbe converted
>in the verify function.
>
>Best regards,
>Germain Leutwyler
>
>/* TRANSLATION OF CERTAIN CHARACTERS WITHIN STRING "ST" TO LOWERCASE */
>ST=''
>do P=1 to length(ST)
> C=substr(ST,P,1)
> if verify(C,'?!0123456789')/=0 then C=bitxor(C,' ')
> ST=ST||C
>end
 
This works, but only for EBCDIC, and is much slower than the built-in
translate function.
 
Jim McMaster
Newsgroups: comp.lang.rexx
From: tma@encore.com (Thanh Ma)
Subject: where can I get FAQ for this group ?
Organization: Encore Computer Corporation
Date: Thu, 7 Jan 1993 13:59:51 GMT

The subject say it all. Also could someone give me the IP address
for flipper.pvv.unit.no where I hope the FAQ is.

Thanks

--
thanh ma
tma@encore.com
Newsgroups: comp.lang.rexx
From: MCMASTER@LSTC2VM.stortek.com (Jim McMaster)
Subject: Re: Lower-case alphabetic set
Organization: StorageTek SW Engineering
Date: Wed, 6 Jan 1993 16:04:36 GMT

In article <1751@airgun.wg.waii.com>
denham@hmsp04.wg3.waii.com (Scott Denham X7117) writes:
 
>In article <1993Jan5.055753.19116@stortek.com> pg@sanitas.stortek.com (Paul Gilmartin) writes:
>(text deleted)
>>...  The Rexx
>>standard does not guarantee that XRANGE('A','Z') contains only alphabetic
>>characters; nor even that it contains the same number of characters as
>>XRANGE('a','z'); nor that the two don't overlap.  I regularly use a
>>dialect of Rexx for which not all these assumptions are true.
>
>Ain't EBCDIC a thing of beauty???
 
Yes, it is a pip.  It was derived from the old Hollerith punched-card
code.  When IBM was designing its system, it tried to remain backward
compatible with its older ones.  By the time ASCII came along, it was
too late for IBM to change.
 
Don't be too proud of ASCII, either.  It was originally designed as a
7-bit code, and we now have a plethora of incompatible 8-bit
extensions.
 
Jim McMaster
Newsgroups: comp.lang.rexx
From: jbrock@csfb1.fir.fbc.com (John Brock)
Subject: Re:      Lower-case alphabetic set
Reply-To: uunet!csfb1!jbrock
Organization: First Boston Corporation
Date: Tue, 5 Jan 1993 17:12:50 GMT

In article <C0CDCz.Co3@csfb1.fir.fbc.com>, jbrock@csfb1.fir.fbc.com (John Brock) writes:
|> In article <REXXLIST%93010320580660@OHSTVMA.ACS.OHIO-STATE.EDU>,         Wan Hasan Abdullah <WAN@UTMJB.BITNET> writes:
|> |> Hello netters!
|> |> 
|> |> I found that, there's a function to translate all words to upper case
|> |> but I could'nt find in HELP REXX to form the words from upper case to
|> |> lower case by using a function. Could anyone help me to solve this
|> |> problem?
|> |> 
|> |> Thanks in advance.
|> |> 
|> |> -WAN-
|> 
|> How about:
|> 
|>   lowercase: procedure
|>   return translate(arg(1), xrange(), translate(xrange()))
|> 
|> I like this because it is consise and generic.  It should work as it
|> stands for any language, and it lets me avoid typing out all the upper
|> and lower case letters by hand (which I think looks ugly, even though
|> it's clearly more efficient to do it that way).

I'm responding to my own post, as there have been other posts
expressing concern about this type of procedure translating
non-alphabetic characters.

On my system at least, all non-alphabetic characters are unchanged by
the translate function when used with only one argument.  If this isn't
part of the language definition it ought to be!  In any case you could
argue that if c ^== translate(c) for any character c, then c by
definition has a distinct upper case form, and my lowercase function
makes sense.

It even makes a certain kind of sense if translate is generalized
(e.g., mapping a ==> b, b ==> c, and c ==> a), an long as it never maps
two distinct characters to the same character.

Here is a procedure which checks which characters on a given system
are affected by the translate function:

  x = xrange()
  y = ""
  
  do i = 1 to length(x)
    c = substr(x, i, 1)
    if c ^== translate(c) then y = y || c
    end
  
  say length(y) y

On my (VM/CMS) system this yields:

  26 abcdefghijklmnopqrstuvwxyz

-- 
John Brock
uunet!csfb1!jbrock
jbrock@csfb1.fir.fbc.com
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Organization: University of Califonia San Francisco
Newsgroups: comp.lang.rexx
Date:         Mon, 11 Jan 1993 10:25:22 PST
From:         Yossie Silverman <YOSSIE@UCSFVM.UCSF.EDU>
Subject:      Re: rscs msg's

Use YWAKEUP, IUCVTRAP, PIPE or if you are on an old system or just sentimental
you could use plain old WAKEUP.  Other tools include KWAKEUP and a few lesser
known ones.  - Yossie

---
Yossie Silverman                   "What did the Caspian Sea?" - Saki
I'Net:  yossie@ucsfvm.ucsf.edu
Bitnet: YOSSIE@UCSFVM              B3 f- w- t cd g++ k++ s++ p
From: denham@hmsp04.wg3.waii.com (Scott Denham X7117)
Newsgroups: comp.lang.rexx
Subject: Re: Lower-case alphabetic set
Date: 5 Jan 93 22:11:21 GMT
Organization: Western Geo. - Div of Western Atlas Intn'l Inc., Houston, TX

In article <1993Jan5.055753.19116@stortek.com> pg@sanitas.stortek.com (Paul Gilmartin) writes:
(text deleted)
>...  The Rexx
>standard does not guarantee that XRANGE('A','Z') contains only alphabetic
>characters; nor even that it contains the same number of characters as
>XRANGE('a','z'); nor that the two don't overlap.  I regularly use a
>dialect of Rexx for which not all these assumptions are true.

Ain't EBCDIC a thing of beauty???
From: pg@sanitas.stortek.com (Paul Gilmartin)
Newsgroups: comp.lang.rexx
Subject: Re: Lower-case alphabetic set
Date: 5 Jan 93 05:57:53 GMT
Organization: Storage Technology Corp.
X-Newsreader: TIN [version 1.1 PL7]

John Verhoeven (johnv@acix.DIALix.oz.au) wrote:
: David McAnally (acus02@ems13.corp.mot.com) wrote:
: > TRANSLATE(instring,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ' 
: > )
: 
: Or slightly shorter...
: 
: TRANSLATE(instring,XRANGE('a','z'),XRANGE('A','Z'))

<Ahem> David's is correct; yours is wrong: you translate (possible)
non-alphabetic characters among XRANGE('A','Z') to different, not
necessarily non-alphabetic, characters among XRANGE('a','z').  The Rexx
standard does not guarantee that XRANGE('A','Z') contains only alphabetic
characters; nor even that it contains the same number of characters as
XRANGE('a','z'); nor that the two don't overlap.  I regularly use a
dialect of Rexx for which not all these assumptions are true.
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU