Anonymous user
Category:Locomotive Basic: Difference between revisions
→Getting started with Locomotive BASIC
Line 48:
Either use the CPCBasic browser-based Locomotive Basic emulator (https://benchmarko.github.io/CPCBasic/cpcbasic.html) or download a native CPC emulator binary for your platform. A list of emulators is available at http://cpcwiki.eu/index.php/Emulators. JavaCPC (http://sourceforge.net/projects/javacpc/) or WinAPE (http://www.winape.net/) are particularly recommended.
In CPCBasic, enter your program, e.g.
In the emulator, type▼
<lang locobasic>10 print "
into the "CPC Basic" text box at the top and then press the Run button below it. Output goes to the blue CPC screen below. You can also interact with the CPC screen directly if you first click on it with the mouse. The Reset button stops a running program and returns you to the Ready prompt.
<lang locobasic>10 print "Hello World!"
run</lang>
|