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

3 lines
107 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
print shell$("ls") ' prints the returned data from the OS
a$ = shell$("ls") ' holds returned data in a$