Category:Locomotive Basic: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 11:
Today, Locomotive BASIC can be used via native CPC emulators such as [http://www.winape.net/ WinAPE] (Windows) or [http://sourceforge.net/projects/javacpc/ JavaCPC] (Windows/macOS/Linux), which is also perfectly legal because Amstrad has given their permission for distributing CPC ROM images with emulators.
 
For web browsers there is also a [https://benchmarko.github.io/CPCBasic/cpcbasic.html JavaScript emulator for Locomotive Basic] itself, which allows easy pasting of code from Rosetta Code. Note however that programs will run much faster in CPCBasic than on a real CPC (or a realistic emulator), so some codeanimations may require an extra delay loopfor each frame, e.g. a delay loop:<lang locobasic>for delay=1 to 10000:next</lang> or the "frame" command which will wait for the next frame. [https://www.retrovm.com/ CPCBox] is another web browser option, a whole-machine JavaScript CPC emulator mainly for games which has good compatibility but which lacks copy and paste support.
 
==Features==