Anonymous user
Execute a system command: Difference between revisions
m
→{{header|BBC BASIC}}
(→{{header|Go}}: library change) |
|||
Line 80:
=={{header|BBC BASIC}}==
The BBC Microcomputers use a ROM based basic interpreter, so every statement within the program is a system command. If a command without a line number is typed, whilst the computer is in a ready state, the command gets executed immediately. There is no pause command, so in this example, we use the list command (which exhibits totally different behaviour to a pause command):
<lang basic>LIST</lang>
{{works with|BBC BASIC for Windows}}
<lang bbcbasic> *RUN dir
|