Task

Run either the   ls   system command   (dir   on Windows),   or the   pause   system command.




Related task
  Get system command output


procedure main()
 
write("Trying command ",cmd := if &features == "UNIX" then "ls" else "dir")
system(cmd)
 
end