Execute a system command: Difference between revisions
Content added Content deleted
(Execute a system command in BASIC256) |
(Execute a system command in Yabasic) |
||
Line 2,179: | Line 2,179: | ||
db '/bin/ls', 0x00 |
db '/bin/ls', 0x00 |
||
</lang> |
</lang> |
||
=={{header|Yabasic}}== |
|||
<lang yabasic>system("dir") |
|||
//It will return the exit code of the command; its output (if any) will be lost. |
|||
print system$("dir") |
|||
//Returns the output as a large string.</lang> |
|||
=={{header|zkl}}== |
=={{header|zkl}}== |