pacgreg Posted June 2, 2018 Share Posted June 2, 2018 If I were to say, pull every variable before using it and pushing it back where it came from every time, would that mean I could use the whole thing as variables? like pulling out data for an animation to a then putting it away and using a again later in the code to pull out music position and put it away each loop will it always be stored in the same place? I'm guessing this would look somewhat like this dim a = frame dim a = duration mainloop ; Animation stack 100 pull frame ; (CODE HERE) stack 99 push frame ;music stack 101 pull duration ; (CODE HERE) stack 100 push duration drawscreen goto mainloop Thanks Greg Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted June 2, 2018 Share Posted June 2, 2018 You may find this topic useful. http://atariage.com/forums/topic/257006-can-the-dpc-stack-be-hacked-and-turned-into-variables Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.