Anonymous user
Execute a system command: Difference between revisions
→{{header|Forth}}: ++ fortran
m (oct...) |
(→{{header|Forth}}: ++ fortran) |
||
Line 86:
{{works with|gforth|0.6.2}}
s" ls" system
=={{header|Fortran}}==
{{works with|gfortran}}
The <tt>SYSTEM</tt> subroutine (and function) are a GNU extension.
<lang fortran>program SystemTest
call system("ls")
end program SystemTest</lang>
=={{header|Haskell}}==
|