Introducing the Pi-cromite: first steps


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 3884
Posted: 11:29pm 04 Apr 2017      

Jim

Thanks for the report - I've made single vs double floating point a compilation option and missed one instance. Fixed in the attached.

I've also added the DIR$ function and an edit capability

If you type edit the program will save any program in memory to disk and open it for edit in a simple Linux editor (nano). When you have edited the program type ctrl-O to write the edited version to disk (accept the proposed filename) and ctrl-X to exit the editor. MMBasic will automatically load up the edited version ready for use.

This is tested and works nicely using Teraterm on a PC over SSH

This allows programs on a Pi to be remotely maintained over the network (NB the Pi 3 has built in wifi)

2017-04-05_092850_mmbasic.zip