newTIboyRob Posted August 14, 2023 Share Posted August 14, 2023 I remember in 80's basic on my IBM that there was a way to assign a single key to be used as a shortcut for printing out any desired word. I have an Applesoft basic program I am doing that is going to have a ton of DATA statements, so this would be a handy little thing. (The only way I know how is to do A$="DATA" then ? A$; but that wouldn't really be of much use here.) With all the peeks and pokes, is there a combo of those to put in a line early on in the program so I can just press a combo of the <CNTRL> key and another key so that word "DATA" appears when I have to type all those DATA statements? Quote Link to comment https://forums.atariage.com/topic/353852-poke-combo/ Share on other sites More sharing options...
The Usotsuki Posted August 15, 2023 Share Posted August 15, 2023 It's probably doable but it would require a lot of work. Look at something like GPLE, though - I think that does pretty similar to what you want. Quote Link to comment https://forums.atariage.com/topic/353852-poke-combo/#findComment-5299203 Share on other sites More sharing options...
newTIboyRob Posted August 15, 2023 Author Share Posted August 15, 2023 GPLE? Quote Link to comment https://forums.atariage.com/topic/353852-poke-combo/#findComment-5299321 Share on other sites More sharing options...
+Torrax Posted August 16, 2023 Share Posted August 16, 2023 Global Program Line Editor by Beagle Brothers Quote Link to comment https://forums.atariage.com/topic/353852-poke-combo/#findComment-5299442 Share on other sites More sharing options...
newTIboyRob Posted August 16, 2023 Author Share Posted August 16, 2023 Gotcha, thanks. Quote Link to comment https://forums.atariage.com/topic/353852-poke-combo/#findComment-5299459 Share on other sites More sharing options...
salfter Posted December 20, 2023 Share Posted December 20, 2023 On 8/13/2023 at 5:47 PM, newTIboyRob said: I remember in 80's basic on my IBM that there was a way to assign a single key to be used as a shortcut for printing out any desired word. I have an Applesoft basic program I am doing that is going to have a ton of DATA statements, so this would be a handy little thing. (The only way I know how is to do A$="DATA" then ? A$; but that wouldn't really be of much use here.) With all the peeks and pokes, is there a combo of those to put in a line early on in the program so I can just press a combo of the <CNTRL> key and another key so that word "DATA" appears when I have to type all those DATA statements? Not that I'm aware of. If you need to do some sort of repetitive entry like that, you could use a text editor (whether on the Apple II or something else) and EXEC the resulting text file in. If the chunk of data you want to turn in to DATA statements is already in RAM, a short one- or two-line BASIC program could turn that chunk into a text file that, again, you could EXEC into your target program. Quote Link to comment https://forums.atariage.com/topic/353852-poke-combo/#findComment-5370813 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.