FORTH for the SHARP PC-E500 (S)
|
04-03-2022, 12:53 AM
Post: #67
|
|||
|
|||
RE: FORTH for the SHARP PC-E500 (S)
I haven't had the time to work on a text file editor for Forth500 to edit Forth source code. I usually INCLUDE my programs from COM: or use CLOAD with the CE-126P. Editing text files on the RAM disk can be done with a separate BASIC program called edit500 available at: http://www.andrewwoods3d.com/pce500/
Or you could use my new Forth500 TLOAD command defined below that loads Forth from a TEXT file created in BASIC with the built-in BASIC editor: Code: \ TLOAD.FTH load TEXT file with line numbers as Forth source This approach is similar to the PC-G850(V)(S) C programming with its built-in line-number-based text editor. It is a bit odd to use line numbers. But hey, this is a throwback to the 80s ![]() How to use TLOAD: 1. in BASIC key in TEXT, the prompt will change to < to indicate the TEXT mode 2. type in your Forth program line-by-line with line numbers 3. use RENUM in case you can't insert a line 4. then SAVE "name" to save your program to RAM disk as name.BAS (don't forget this step!) 5. go back to Forth500 with CALL&B0000 (or CALL&B9000 on a 32K machine) 6. key in TLOAD name.BAS 7. done! - Rob "I count on old friends" -- HP 71B,Prime|Ti VOY200,Nspire CXII CAS|Casio fx-CG50...|Sharp PC-G850,E500,2500,1500,14xx,13xx,12xx... |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)