-
Notifications
You must be signed in to change notification settings - Fork 68
Loading a BASIC file in
Matt Godbolt edited this page Oct 17, 2018
·
2 revisions
Until something happens on the paste text into the Beeb issue, this is a possible solution to doing some BBC BASIC development:
- Visit github gists (https://gist.github.com/) and make a new one, putting your BBC BASIC commands in, say "foo.bas". I made one here.
- Click the "Raw" link of the file you made to get
https://gist.githubusercontent.com/mattgodbolt/fc8d6f3d6e5e015dce399013719c8341/raw/bd5cb4314bfc3ee4330783ecf82cb329a36b915c/foo.bas
- Copy that raw URL
- paste it after
https://bbc.godbolt.org/?loadBasic=
, e.g. https://bbc.godbolt.org/?loadBasic=https://gist.githubusercontent.com/mattgodbolt/fc8d6f3d6e5e015dce399013719c8341/raw/bd5cb4314bfc3ee4330783ecf82cb329a36b915c/foo.bas - To make it auto run add
&autorun
https://bbc.godbolt.org/?loadBasic=https://gist.githubusercontent.com/mattgodbolt/fc8d6f3d6e5e015dce399013719c8341/raw/bd5cb4314bfc3ee4330783ecf82cb329a36b915c/foo.bas&autorun
Unfortunately if you make a change you'll need to recreate the link, as the gist raw link is permanent.