Jump to content
IGNORED

POKE combo


newTIboyRob

Recommended Posts

 

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?

 

 

Link to comment
Share on other sites

  • 4 months later...
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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...