Category:Locomotive Basic: Difference between revisions
Content deleted Content added
Line 48: | 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. |
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. |
|||
⚫ | |||
<lang locobasic>10 print " |
<lang locobasic>10 print "Hello World!"</lang> |
||
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> |
run</lang> |
||