Anonymous user
File extension is in extensions list: Difference between revisions
File extension is in extensions list (view source)
Revision as of 20:19, 2 September 2016
, 7 years ago→{{header|REXX}}: added a comment to the REXX section header as per the task's requirement.
(→{{header|REXX}}: changed program to reflect new task requirements and examples.) |
m (→{{header|REXX}}: added a comment to the REXX section header as per the task's requirement.) |
||
Line 621:
=={{header|REXX}}==
This REXX version handles the extra credit requirement.
<lang rexx>/*REXX program displays if a filename has a known extension (as per a list of EXTs).*/
$= 'zip rar 7z gz archive A## tar.bz2'; upper $ /*a list of "allowable" file extensions*/
|