I found a quick solution that's not quite so obvious. I pasted the text into a text editor on my PC and saved it as a example.bas
Then from the command prompt I typed;
Code: Select all
xroar -run ./example.bas
Or I can just load it in as if I was typing it in;
Code: Select all
xroar -load-text ./example.bas
It would be cool if Paste worked and it would even be quite handy if the XRoar file menu allowed -load-text. Currently it only mounts a tape file.
I must complement the comprehensive command line options because that allows the creation desktop and menu shortcuts on the PC so that the Dragon 32 and CoCo3 programs I use become 'Apps'. There was a certain skill set I had when my Dragon was always on my desk. I could boot up and immediately write a little bit of code to try something. Things have moved on but having XRoar two clicks away makes it practical to use those old skills.