Talk:Permutations with repetitions

Revision as of 20:52, 12 May 2013 by rosettacode>Gerard Schildberger (added a section regarding REXX limitations on the INTERPRET statement. -- ~~~~)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

REXX implementation limits

Most REXX interpreters have implementation limits on the length of a REXX clause.

For Regina REXX, it depends on the release level.

For Regina REXX 3.3, 3.4, 3.5, REXX gives a SYNTAX error:

Error 12 running "C:\xxxxxx.REX", line 29: [Clause > 1024 characters]

For Regina REXX 3.6, 3.7, REXX "crashes" somewhere less than a statement length of 1932,
I haven't pursued this to find the exact byte count.

{By crashing, I mean Microsoft Windows displays a small error "window":

Regina Rexx Launcher (x86) has encountered a problem
and needs to close.   We are sorry for the inconvenience.
(more boilerplate follows).

For what's it worth, I believe REXX should raise the SYNTAX condition.

For PC/REXX and Personal REXX, it depends on what the RXISA (SET environmental variable).

As far as I can tell, R4 and ROO have no (real) limitation for the length of an INTERPRET instruction,
and that is probably true of CMS REXX and TSO REXX   (it's been too long since I used those
two flavors of REXX).

-- Gerard Schildberger (talk) 20:52, 12 May 2013 (UTC)

Return to "Permutations with repetitions" page.