Do you think this would be possible?
You can do it!
 0%  [ 0 ]
This isn't going to work.
 0%  [ 0 ]
Other. I will say in a reply.
 0%  [ 0 ]
Total Votes : 0

I thought of an idea when an appvar got corrupted on my calculator. Why not try to make it possible to make an appvar within a program but later was informed that it would take up a lot of space. Next I thought of having a compressed string and running another program to make the appvar.
-----
During school (study hall) I thought that this would be possible if I had a number representing every 2 numbers. This would turn {1,4,2,13} into {4,377} and {4,377} into {1,4,2,13}
The way this method works has to do with the fibonacci sequence. Here is the modified version I am using:
{0,1,2,4,7,12,20,33,54,88,...}
First, take the original sequence {1,4,2,13} and split it into 2's: {1,4} and {2,13} Then take my modified sequence and take the values. {1,4} and {2,13} would turn into {0,4} and {1,376} respectively. Add the terms for each previous sequence and get {4} and {377} These values can be converted into a sequence of half the size, solving the problem of space.
-----
I would make a program that could either convert the appvar contents into a sequence or convert a sequence into an appvar. The other programs would set the compressed appvar contents (a sequence) to a list to be handled by my program.
-----
Any other ways to do this? Suggestions, comments?
I know that in Celtic libs on the 84SE, there is a way to make an appvar, I'm not sure if that has been implemented into DCSE8.
What are you trying to store?
You can indeed create AppVars from within programs using the Doors CSE libraries, namely Celtic II CSE. Details here:

http://dcs.cemetech.net/index.php?title=Third-Party_BASIC_Libraries_%28Color%29
16aroth6: For advanced color games you need appvars to store the tilemaps/sprites. If your calc crashes or the appvar is corrupted or you want to share easily this would help.
easiest way to keep appvars safe would to be o periodically group them, with your program.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement