Program name: Difference between revisions

no edit summary
(→‎{{header|Python}}: Correct source code formatting)
No edit summary
Line 1,354:
</pre>
Output note of ooRexx (which should be shown in the ooRexx language section): &nbsp; the output from ooRexx (in this Classic REXX section) needs to be corrected and re-done; &nbsp; the title is different, it is not showing the argument supplied, and it's incorrectly translating the (solid) left and right arrow characters.
 
=={{header|Ring}}==
<lang ring>
see "Active Source File Name : " + filename() + nl
</lang>
output
<lang ring>
Active Source File Name : tests\filename.ring
</ring>
 
Check the main file in the program
<lang ring>
if sysargv[2] = filename()
see "I'm the main program file!" + nl
# we can run tests here!
else
see "I'm a sub file in a program" + nl
ok
</ring>
 
=={{header|Ruby}}==