Useful BASIC commands
Open the built-in resource list:
!
Mount automatically into a free slot
%mount "<url>"
Unmount an existing filesystem
%umount 0
Mount into a specific slot
%mount 0, "<url>"
%fs 0
Mount a web directory and load the default program:
%mount "https://spectranext.net/demo/hn"
%load ""
Other commands
Filesystem and program commands:
%cdChange directory%catList files%loadLoad (identical to LOAD) off current volume%aload "file" CODE 12345Load a file into memory location%saveSave current basic file%asave "file" CODE 12345,123Save mem loc,sz into file%tapein "tape"setup a tape file so LOAD "" loads that tape%cpCopy a file%mvMove a file%rmRemove a file%mkdirCreate a directory%rmdirRemove a directory
Stream and socket commands (development):
%connect,%close,%listen,%accept,%oneof
Filesystems
%fopen #4, "file.tap", "r"Load a file into a stream%opendirOpen a directory%reclaimReclaim stream memory
Configuration commands:
%fsconfigFilesystem configuration%ifconfigNetwork configuration (VIEW ONLY)%cfgset,%cfgset$,%cfgcommit,%cfgabandon,%cfgnew,%cfgnewsec,%cfgrm
If you used the short %mount "<url>" form, Spectranext automatically picks a free slot and switches %fs to it.