<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/regina-rexx/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/regina-rexx/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/regina-rexx/bugs/</id><updated>2026-04-07T15:02:54.684000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#620 x2d implementation incomplete</title><link href="https://sourceforge.net/p/regina-rexx/bugs/620/?limit=25#2a94" rel="alternate"/><published>2026-04-07T15:02:54.684000Z</published><updated>2026-04-07T15:02:54.684000Z</updated><author><name>Paul van den Eertwegh</name><uri>https://sourceforge.net/u/zeddicus24/</uri></author><id>https://sourceforge.netc1f2e3dd56e986e0a6493c76ebcd64b62e29006f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The non-strict comparison first trims leading and trailing spaces of the arguments.&lt;br/&gt;
Thus the first one becomes (ascii 20 = space):&lt;br/&gt;
say "00"x&amp;gt;"" (empty string).&lt;/p&gt;
&lt;p&gt;Then we have a compare of 2 strings with different lengths. According to the manual, the shorter one is padded with spaces until the length of the longer one. We should get:&lt;br/&gt;
say "00"x&amp;gt;" " (1 space). This should give 0!&lt;/p&gt;
&lt;p&gt;Bug. ooRexx here gives the correct result.&lt;/p&gt;
&lt;p&gt;Using the strict &amp;gt;&amp;gt; gives correct result.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#620 x2d implementation incomplete</title><link href="https://sourceforge.net/p/regina-rexx/bugs/620/?limit=25#7c5f" rel="alternate"/><published>2026-04-03T14:15:28.208000Z</published><updated>2026-04-03T14:15:28.208000Z</updated><author><name>Stefan Haubenthal</name><uri>https://sourceforge.net/u/polluks/</uri></author><id>https://sourceforge.net949f2596fc442d21c0963a243006dd80e2f56228</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;What about this&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;say "00"x&amp;gt;"20"x
1
say "00"x&amp;gt;"21"x
0
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>#621 TAN function 2 minor errors</title><link href="https://sourceforge.net/p/regina-rexx/bugs/621/?limit=25#ce82" rel="alternate"/><published>2026-03-25T09:16:18.032000Z</published><updated>2026-03-25T09:16:18.032000Z</updated><author><name>J Watson</name><uri>https://sourceforge.net/u/johnlwatson/</uri></author><id>https://sourceforge.neta0f273c0a968e48ab14d2c3af2420548f3ef5bb1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#621 TAN function 2 minor errors</title><link href="https://sourceforge.net/p/regina-rexx/bugs/621/?limit=25#9ec1" rel="alternate"/><published>2026-03-24T20:28:00.544000Z</published><updated>2026-03-24T20:28:00.544000Z</updated><author><name>Stefan Haubenthal</name><uri>https://sourceforge.net/u/polluks/</uri></author><id>https://sourceforge.neteab70bcbdc220172b2e3d116338493b4ea6da038</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Are talking about regutil's systan?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#622 \-0</title><link href="https://sourceforge.net/p/regina-rexx/bugs/622/?limit=25#1d0b" rel="alternate"/><published>2026-03-23T16:37:12.376000Z</published><updated>2026-03-23T16:37:12.376000Z</updated><author><name>Ross Patterson</name><uri>https://sourceforge.net/u/ross-patterson/</uri></author><id>https://sourceforge.net6d212b9ce79fadb9aace267d8477425653c4e9e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It's interesting that the lexer throws error 35.1 for the simple case ("-0"), but that it passes a more complex case, which  evaluates correctly.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="mf"&gt;12&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;*-*&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;say&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;L&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="s"&gt;"0"&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;P&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="s"&gt;"0"&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;U&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="s"&gt;"1"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;TRL2 pp. 24 (emphasis mine) says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Expressions consist of one or more terms (literal strings, symbols, function calls, or sub-expressions), and zero or more operators that denote operations to be carried out on terms. Most operators act on two terms, and there will be at least one of these dyadic operators between every pair ofterms. 17 There are also prefix (monadic) operators, that act on the term that is immediately to the right of the operator. &lt;strong&gt;There may be one or more prefix operators to the left of any term.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;and ANSI 6.3.2.112  says:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;prefix_expression := ('+' | '-' | '\') prefix_expression | term | Msg35.1&lt;br/&gt;
&lt;/p&gt;
&lt;/blockquote&gt;&lt;/div&gt;</summary></entry><entry><title>#622 \-0</title><link href="https://sourceforge.net/p/regina-rexx/bugs/622/?limit=25#0c94" rel="alternate"/><published>2026-03-23T10:48:39.113000Z</published><updated>2026-03-23T10:48:39.113000Z</updated><author><name>Stefan Haubenthal</name><uri>https://sourceforge.net/u/polluks/</uri></author><id>https://sourceforge.neta72c7e9d9262472b20469aeb5d02e802d1bfc8e8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hmm, Regina is simply "strict", so that's the way it is?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>\-0</title><link href="https://sourceforge.net/p/regina-rexx/bugs/622/" rel="alternate"/><published>2026-03-23T09:13:38.611000Z</published><updated>2026-03-23T09:13:38.611000Z</updated><author><name>Stefan Haubenthal</name><uri>https://sourceforge.net/u/polluks/</uri></author><id>https://sourceforge.net31c269f67cdcad00c1b769c5249d73482a984962</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;say -\0
-1
say \-0
Error 35 running "&amp;lt;stdin&amp;gt;", line 1: Invalid expression
Error 35.1: Invalid expression detected at "\"
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;why? not and minus are legal prefixes&lt;/p&gt;
&lt;p&gt;by the way the message doesn't mention "~"&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;say ~-0
Error 35 running "&amp;lt;stdin&amp;gt;", line 1: Invalid expression
Error 35.1: Invalid expression detected at "\"
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>TAN function 2 minor errors</title><link href="https://sourceforge.net/p/regina-rexx/bugs/621/" rel="alternate"/><published>2026-02-15T17:20:46.438000Z</published><updated>2026-02-15T17:20:46.438000Z</updated><author><name>J Watson</name><uri>https://sourceforge.net/u/johnlwatson/</uri></author><id>https://sourceforge.net9068f50dec5e90400cb4ffc7cd08bacab0d9246e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;TAN() function gives an unexpected execution error if argument is +90, +270, -90 etc. It reports "Error 40 incorrect call". I'd argue that the call is correct but maybe the response should be clearer. It wouldn't be possible to return the correct value (+/- infinity) as this concept doesn't exist in REXX. For comparison, MS-Excel returns a crazy large number rather than fail - which I'd also disagree with! Unable to find out what the same IBM function does, but I suspect there's also an execution error&lt;/p&gt;
&lt;p&gt;Also, the 3rd argument (unit= D, R, G) doesn't seem to work at all, always returning "0" if it's specified&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#620 x2d implementation incomplete</title><link href="https://sourceforge.net/p/regina-rexx/bugs/620/?limit=25#082e" rel="alternate"/><published>2025-11-12T00:08:05.987000Z</published><updated>2025-11-12T00:08:05.987000Z</updated><author><name>Stefan Haubenthal</name><uri>https://sourceforge.net/u/polluks/</uri></author><id>https://sourceforge.net6355e11b2103737d9ea0f0cf73dcfba37980abaa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;oops, it's EBCDIC&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>x2d implementation incomplete</title><link href="https://sourceforge.net/p/regina-rexx/bugs/620/" rel="alternate"/><published>2025-11-11T19:04:17.385000Z</published><updated>2025-11-11T19:04:17.385000Z</updated><author><name>Stefan Haubenthal</name><uri>https://sourceforge.net/u/polluks/</uri></author><id>https://sourceforge.net7dc29023e48b744fd7e7e34374d92cf4d58d26e2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;TRL2 p. 116 says&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;X2D('c6 f0'X) == 240
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Take care of the X!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>