User talk:Idrougge: Difference between revisions

m
→‎include a file: added comments about failed attempts to run the REXX program.
(→‎include a file: added another comment.)
m (→‎include a file: added comments about failed attempts to run the REXX program.)
Line 60:
 
:::: I did not (and can not) see where it states that the REXX program requires Regina REXX (or the AREXX REXX interpreter) and that it also requires a special Regina option to work. &nbsp; This is what the <nowiki> {{works|xxx ...}} </nowiki> template is for, and it doesn't require the casual reader to delve into reading the opening comments within a program. &nbsp; The same should be done with the first example: &nbsp; add a <nowiki> {{works| CMS and TSO REXX compiler}}. </nowiki> &nbsp; If you don't know how add that, I could insert the appropriate templetes so you can include them in the future. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 04:17, 13 September 2015 (UTC)
 
<br>
 
-----
 
<br>
 
Perhaps I'm doing something silly, but Regina REXX (3.9.1) is still giving me fits:
 
<pre>
 
───────────────────────────────────────────────────────────────────09/12/2015 23:29:37
c:\►regina -oAREXX_BIFS include
This is a program running.
3 +++ if Open(other,'SYS:Rexxc/otherprogram.rexx','READ') then do
Error 40 running "c:\include.rex", line 3: Incorrect call to routine
Error 40.4: Too many arguments in invocation of "OPEN"; maximum expected is 2
 
───────────────────────────────────────────────────────────────────09/12/2015 23:29:42
c:\►regina --options=AREXX_BIFS include
This is a program running.
3 +++ if Open(other,'SYS:Rexxc/otherprogram.rexx','READ') then do
Error 40 running "c:\include.rex", line 3: Incorrect call to routine
Error 40.4: Too many arguments in invocation of "OPEN"; maximum expected is 2
 
───────────────────────────────────────────────────────────────────09/12/2015 23:29:57
c:\►r391 --options=AREXX_BIFS include
This is a program running.
3 +++ if Open(other,'SYS:Rexxc/otherprogram.rexx','READ') then do
Error 40 running "c:\include.rex", line 3: Incorrect call to routine
Error 40.4: Too many arguments in invocation of "OPEN"; maximum expected is 2
 
───────────────────────────────────────────────────────────────────09/12/2015 23:32:47
c:\►
</pre>
 
Is there something that I'm (easily) overlooking or am I doing something wrong but can't see it?
 
I also tried to run it with having the environmental variable '''REGINA_OPTIONS''' to have the '''AREXX_BIFS''' option included. &nbsp; Still no joy. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 04:30, 13 September 2015 (UTC)