CompuServe Thread

Poco Bug

1 messages in this thread
#121036From: Don HaywardAug 30, 1994 1:36 AM
I just discovered a rather interesting bug in the poco CelMove function of Animatior Pro version 1.3a. If you execute the following program: main() { CelMove(-4,1); CelPaste(); } the cel will be pasted in the original position. This seems to only be a problem with this particular combination of parameters for CelMove. I have tried all others from -5 to 5 with no problem. If you try to paste the cell using the normal paste command it will also still be in the original position. But . . . if you follow this command with a CelMove command containing any other parameters (except CelMove(0,0)) the cel is pasted where it should be, including the commands it missed. This even occurs over several separate executions of the program. If you execute the above program 4 times then change it to CelMove(-3,1) and execute it again, the cell will show up at (-19,5) The work-around I thought of is to insert two self canceling CelMove commands before the CelPaste command, as in the following: main() { CelMove(-4,1); CelMove(-1,0); CelMove(1,0); CelPaste(); } this allows the (-4,1) move to show up. Just inserting a single CelMove(0,0) doesn't do the trick. Don Hayward