Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Freyaday

Pages: 1 ... 170 171 [172] 173
2566
TI-BASIC / Re: Undo
« on: February 25, 2011, 09:18:39 pm »
OVER9000! I leave no possibility uncodedfor in my nonmath programs. The unlikeliest bugs are the ones found the first, and generally are the worst *start programming rap here*

2567
TI-BASIC / Re: Undo
« on: February 25, 2011, 05:13:41 pm »
*User sees all memory has gone from calc*"So that's where I downloaded the Internet!"

2568
TI-BASIC / Re: Undo
« on: February 25, 2011, 04:36:09 pm »
The problem is that the list can easily run thousands of bytes, and a compromise, while a great idea, would be a nightmare to implement. Add to that I'm already using Pic1....

2569
TI-BASIC / Re: Undo
« on: February 25, 2011, 04:18:54 pm »
Read is a Basic program. Macro drawings run hundreds of commands long (not helped by the fact that three of the commands use up two list elements). It takes about half a minute (I've never timed it) to Fully draw a list, and 30 seconds per undo is unacceptable.

2570
TI-BASIC / Re: Undo
« on: February 25, 2011, 04:12:49 pm »
the ability to undo ad infinitum.

Even photoshop doesn't have this :P
And this should stop me...why?
DJ, yeah. The only program I've ever seen advertise "unlimited undos" was HxD, which has a much easier task of it than most programs because of how densely you can store hex.
What does this program do and how does it undo?
And, technically, I only need 999 undoes. If the list has any more elements than that, something's seriously wrong with the calculator. Currently, I have a save and load feature that takes a pic and notes how many list elements there are when it saves, and then truncates the list and puts the pic back on the screen when it loads.

2571
TI-BASIC / Re: Undo
« on: February 25, 2011, 03:57:59 pm »
I think you could use the algorithm of a snake.
And what algorithm would that be?

2572
TI-BASIC / Re: Undo
« on: February 25, 2011, 03:54:18 pm »

Then it'd requite saving infinite Pic Variables, but they are finite.
Hence the necessity of another method.

2573
TI-BASIC / Re: Undo
« on: February 25, 2011, 03:52:05 pm »
Before every action, you could store the screen to an OS Pic variable, and then using Undo would recall the pic var onto the screen, effectively "undoing" the last action :)
But that would only allow one undo. That's not enough. I want the ability to undo ad infinitum.

2574
TI-BASIC / Undo
« on: February 25, 2011, 03:47:30 pm »
My BASIC program Macro is a drawing tool. There are 8 drawing commands available, and the coordinates for each are recorded and stored, along with the command number, in a single element of LM. It's almost done, but it's missing a desperately needed feature: An undo button. I can't just do the opposite of the command that was just performed, because that could change pixels that weren't changed by the instruction being undone. The only way I can see to circumvent this situation would be to remove the last element of the list and call Read to redraw the whole thing, which would be an absolute pain. Can anyone think up a more efficient way to implement an undo feature?

2575
Axe / Re: What am I doing wrong here?
« on: February 24, 2011, 03:37:46 pm »
Quote
[015D]"M"→Str1
GetCalc(Str1)→P
It works for me, too! Thank-you muchly!

Edit:
Now if only I could figure out what, exactly, P is pointing to....

2576
Axe / Re: What am I doing wrong here?
« on: February 24, 2011, 02:52:48 pm »
Nope. Didn't work.:(

2577
Axe / Re: What am I doing wrong here?
« on: February 24, 2011, 10:53:38 am »
My brain's a little scrambled from all the documentation non-following, so what would that look like in code, exactly?

2578
Axe / Re: What am I doing wrong here?
« on: February 24, 2011, 10:48:51 am »
So where can I get this magical hatchet that hacks my tokens for me?

2579
Axe / Re: What am I doing wrong here?
« on: February 24, 2011, 10:43:49 am »
So what do I do?
Edit:
The Documentation.pdf I have explicitly states that "LABC" is the Name String for the List ABC.

2580
Axe / Re: What am I doing wrong here?
« on: February 24, 2011, 10:36:31 am »
If it's a problem with the first token, it's not that one. I looked at the the TI 83+ Developer's Guide and according to it, there is no difference between the way Named lists and L1-6 are stored. In the calc's eyes, L1-6 are user lists with the name of 1-6.

Edit in response to edit:
That's exactly what I'm doing now.

Pages: 1 ... 170 171 [172] 173