RosettaCodeData/Task/Call-a-foreign-language-function/REXX/call-a-foreign-language-function.rexx

9 lines
458 B
Rexx
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
/*REXX program calls (invoke) a "foreign" (non-REXX) language routine/program. */
cmd = "MODE" /*define the command that is to be used*/
opts= 'CON: CP /status' /*define the options to be used for cmd*/
address 'SYSTEM' cmd opts /*invoke a cmd via the SYSTEM interface*/
/*stick a fork in it, we're all done. */