Talk:Permutations with repetitions: Difference between revisions

Content added Content deleted
(Is the Mathematica solution correct?)
(→‎REXX implementation limits: fixed corrupted updates. -- ~~~~)
Line 12: Line 12:


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

:::::: Error"C:\xxxxxx.REX", line 29: [Clause >]
:::::: 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,
For Regina REXX 3.6,   3.7, REXX "crashes" somewhere less than a statement length of 1932,
Line 25: Line 26:
For what's it worth, I believe REXX should raise the SYNTAX condition.
For what's it worth, I believe REXX should raise the SYNTAX condition.


[The reason I mention the older versions of Regina REXX is that Regina REXX<br>virtual memory for those REXX programs which use a ''lot'' of stemmed variables (possibly a
[The reason I mention the older versions of Regina REXX is that Regina 3.3 REXX uses less
<br>virtual memory for those REXX programs which use a ''lot'' of stemmed variables (possibly a
<br>memory leak), so the use of the older Regina release is forced in lieu of a fix.
<br>memory leak), so the use of the older Regina release is forced in lieu of a fix.


For PC/REXX and Personal REXX, it depends on what the RXISA ('''SET''' environmental variable).
For PC/REXX and Personal REXX, it depends on what the RXISA ('''SET''' environmental variable).
<br>These :
<br>These two REXXes either give:
:::::: Error:\xxxxxx.REX" Control stack full
:::::: Error 11 on line 29 of c:\xxxxxx.REX" Control stack full
<br>
<br>
:::::: Memory full: symbol
:::::: Memory full: symbol
:::::: Error:\xxxxxx.REX: Machine resources exhausted
:::::: Error 5 on line 29 of C:\xxxxxx.REX: Machine resources exhausted


somewhere between.
somewhere between 568 and 597 bytes.


It should be noted that most people use the maximum for the RXISA &nbsp; (which is.
It should be noted that most people use the maximum for the RXISA &nbsp; (which is 40K).


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


::::::::::: -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 20:2013 (UTC)
::::::::::: -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 20:2013 (UTC)