Program name: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: removed all references to non-Classic REXX, removed STYPE from the PRE html tags.)
m (→‎version with various types of invokes: added Brexx output, added an output note on an program entry that was executed incorrected and pasted incorrectly.)
Line 1,139: Line 1,139:
===version with various types of invokes===
===version with various types of invokes===
Used under Windows/XP and Windows 7 with the following REXXes:
Used under Windows/XP and Windows 7 with the following REXXes:
:::* Brexx
:::* R4 REXX
:::* R4 REXX
:::* REGINA REXX
:::* REGINA REXX
Line 1,159: Line 1,160:
zz = prog_nam( , 'function') /* " " " " function. */
zz = prog_nam( , 'function') /* " " " " function. */
/*stick a fork in it, we're done.*/</lang>
/*stick a fork in it, we're done.*/</lang>
'''output''' when using '''BREXX''' with the input of: &nbsp; <tt> command </tt>
<pre>
───────────────────────────────────────────brexx 2.1.0 Mar 11 2003 ◄──► command
REXX's name of system being used: MSDOS
how the REXX program was invoked: COMMAND
name of the REXX program and path: prog_nam.rex J:\-\BREXX\REXX16.EXE D:\WIN
DOWS\SYSTEM32\COMMAND.COM
────────────────────────────────────────brexx 2.1.0 Mar 11 2003 ◄──► subroutine
REXX's name of system being used: MSDOS
how the REXX program was invoked: PROCEDURE
name of the REXX program and path: prog_nam.rex J:\-\BREXX\REXX16.EXE D:\WIN
DOWS\SYSTEM32\COMMAND.COM
──────────────────────────────────────────brexx 2.1.0 Mar 11 2003 ◄──► function
REXX's name of system being used: MSDOS
how the REXX program was invoked: FUNCTION
name of the REXX program and path: prog_nam.rex J:\-\BREXX\REXX16.EXE D:\WIN
DOWS\SYSTEM32\COMMAND.COM
</pre>
Output note: &nbsp: Note that the wrap-around of the output is an artifact of the BREXX interpreter, not the pasting of the output.
<br><br>

'''output''' when using '''R4 REXX''' with the input of: &nbsp; <tt> command </tt>
'''output''' when using '''R4 REXX''' with the input of: &nbsp; <tt> command </tt>
<pre>
<pre>
Line 1,234: Line 1,256:
name of the REXX program and path: E:\PROG_NAM.REX
name of the REXX program and path: E:\PROG_NAM.REX
</pre>
</pre>
Output note: &nbsp; the output from ooRexx (in this Classic REXX section) needs to be corrected and re-done.


=={{header|Ruby}}==
=={{header|Ruby}}==