Jump to content
IGNORED

How Can I "Unset" a String Variable in Atari BASIC


Recommended Posts

CLR will work but you lose all your other variables as well so limited usefullness.

 

Also you only have the 128 variable names, and even if you stop using one it'll still be taking up the entry in the name table.  Though I can't say I've ever run out.

But it can be freed up by LISTing then ENTERing your program back from a storage device.

 

Generally if you have some work where you want a big string e.g. for supporting data setup or something you could do it early on then issue a CLR.

Link to comment
Share on other sites

  • 4 weeks later...

IDK about Atari BASIC, but on Microsoft BASIC, you could reserve a specified amount of memory, and you could use PEEK and POKE to access data in that memory.
This was used on the TRS-80 for a dungeon crawler so it could go between the town (tavern?), and exploration modules... Temple of Apshai maybe?
 

Edited by JamesD
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...