RosettaCodeData/Task/Execute-a-system-command/Run-BASIC/execute-a-system-command.run

3 lines
107 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
print shell$("ls") ' prints the returned data from the OS
a$ = shell$("ls") ' holds returned data in a$