Execute a system command: Difference between revisions
Execute a system command in Yabasic
(Execute a system command in BASIC256) |
(Execute a system command in Yabasic) |
||
Line 2,179:
db '/bin/ls', 0x00
</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}}==
|