Jump to content
IGNORED

how do i check the size of the memory in ti basic?


xxx

Recommended Posts

1 MEM=MEM+8
2 GOSUB 1

Run this. It will report "* MEMORY FULL IN 1" after a bit.

When that happens, enter PRINT MEM to see number of bytes of free memory.

By using different line numbers you could add this to a program you are writing.

When your program gets to this section, it will run out of memory, and PRINTing the MEM variable will tell you roughly how much more memory you have to work with.

Be sure to remove the memory check lines from your program when done, or add a REM to them like this:

1 REM MEM=MEM+8
2 REM GOSUB 1

Please note this will test only the consoles built in memory.

You can not use or test a external memory card like the 32k or 1MB SAMS card from Basic.

Edited by jrhodes
  • Like 3
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...