Modulinos: Difference between revisions

885 bytes added ,  12 years ago
→‎{{header|REXX}}: added the REXX language. -- ~~~~
(Dart)
(→‎{{header|REXX}}: added the REXX language. -- ~~~~)
Line 1,272:
 
q("no")</lang>
 
=={{header|REXX}}==
<lang rexx>/*REXX program to detect whether or not it is a "scripted main" program.*/
 
parse source . howInvoke .; if howInvoke \== 'COMMAND' then return ''
 
/* ┌────────────────────────────────────────────────┐
│ │
│ At this point, we know that this program was │
│ invoked via the "command line" and not via │
│ another program. │
│ │
└────────────────────────────────────────────────┘ */
 
say 'and away we go ...'</lang>
 
=={{header|Ruby}}==