--- title: "Saving RAM Memory" type: "article" slug: "saving-ram-memory" url: "http://localhost/article/saving-ram-memory/" markdown_url: "http://localhost/article/saving-ram-memory.md" published_at: "2022-10-07T12:23:29+00:00" modified_at: "2026-08-01T00:48:32+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Have you ever written a BASIC program and have used up al! of the available memory and are still not finished? This happened to me a while back. I wrote a Macintosh type display program on Weld Design only to find about three fourths of the way through that I had only 320 bytes left.…" category: - name: "The Plotter" slug: "the-plotter" taxonomy: "category" url: "http://localhost/category/periodicals/the-plotter/" post_tag: - name: "Best of Timex/Sinclair 2068 Articles and Documents" slug: "ts2068best" taxonomy: "post_tag" url: "http://localhost/tag/ts2068best/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" - name: "Tutorial" slug: "tutorial" taxonomy: "post_tag" url: "http://localhost/tag/tutorial/" model: - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Dennis Jurries" slug: "dennis-jurries" taxonomy: "indiv" url: "http://localhost/indiv/dennis-jurries/" publication_r: id: 21216 title: "The Plotter" type: "periodical" url: "http://localhost/periodical/the-plotter/" authors: "Dennis Jurries" authors_r: - name: "Dennis Jurries" slug: "dennis-jurries" taxonomy: "indiv" url: "http://localhost/indiv/dennis-jurries/" volume: "4" issue: "1" issues_articles: - id: 39433 title: "The Plotter v4 n1" type: "issue" url: "http://localhost/issue/the-plotter-v4-n1/" pages: "6" pubdate: "January 1985" archive_link: false --- Have you ever written a BASIC program and have used up al! of the available memory and are still not finished? This happened to me a while back. I wrote a Macintosh type display program on Weld Design only to find about three fourths of the way through that I had only 320 bytes left. I would edit a try to reinsert it back into the line and program the computer would delete the line completely. After going back and rewriting the program to pick up memory gaining some I still could not finish the program. A friend of mine clued me some memory saving techniques that he had received from another program. The techniques are as follows: | Normal Usage | Memory Saver | Bytes Saved | | --- | --- | --- | | 1 | SGN PI | 5 | | 0 | NOT PI | 5 | | 3 | INT PI | 5 | | 2, 4 on up | VAL ā€œnā€ | 3 | In the last example 2, 4 on up means to use any integer 2 or 4 on up. When I used these memory savers in my Weld Design program I found that I had freed up in excess of 12,000 bytes.