system$() -- hand a statement over to your operating system and return its output
The system$-command accepts a single string argument, specifying a command, that can be found and executed by your operating system. It returns the output of this command as one big string.
input "Please enter the name of a directory: " d$
print "This is the contents of the '"+d$+"':"
print system$("ls -l "+d$)
This example lists the contents of a directory, employing the ls-command.