how to reset application?

Im looking for a soft reset button, just to start over again clearing all arrays etc.. The executable is distributed on alien PCs so i dont know where it would be saved if using some kind of path command


Comments

  • : Im looking for a soft reset button, just to start over again
    : clearing all arrays etc.. The executable is distributed on alien PCs
    : so i dont know where it would be saved if using some kind of path
    : command
    :
    :
    :
    It's quite simple to create such a button. Just write a procedure which initializes all the variables in the program and call that at the start of your program. Then create a button to call that procedure.
  • : : Im looking for a soft reset button, just to start over again
    : : clearing all arrays etc.. The executable is distributed on alien PCs
    : : so i dont know where it would be saved if using some kind of path
    : : command
    : :
    : :
    : :
    : It's quite simple to create such a button. Just write a procedure
    : which initializes all the variables in the program and call that at
    : the start of your program. Then create a button to call that
    : procedure.

    i got like 10 million variables lol, and graphics/buttons being transported to other parts of the screen
  • : : : Im looking for a soft reset button, just to start over again
    : : : clearing all arrays etc.. The executable is distributed on alien PCs
    : : : so i dont know where it would be saved if using some kind of path
    : : : command
    : : :
    : : :
    : : :
    : : It's quite simple to create such a button. Just write a procedure
    : : which initializes all the variables in the program and call that at
    : : the start of your program. Then create a button to call that
    : : procedure.
    :
    : i got like 10 million variables lol, and graphics/buttons being
    : transported to other parts of the screen
    :
    Then the only way I can think of is to let your program start another instance of itself and shut itself down.
    Hint for the future: It's always a good coding pratice to have your program initialization in a few procedures. This makes this situation and others (like adding a config support) more manageable.
  • : : : : Im looking for a soft reset button, just to start over again
    : : : : clearing all arrays etc.. The executable is distributed on alien PCs
    : : : : so i dont know where it would be saved if using some kind of path
    : : : : command
    : : : :
    : : : :
    : : : :
    : : : It's quite simple to create such a button. Just write a procedure
    : : : which initializes all the variables in the program and call that at
    : : : the start of your program. Then create a button to call that
    : : : procedure.
    : :
    : : i got like 10 million variables lol, and graphics/buttons being
    : : transported to other parts of the screen
    : :
    : Then the only way I can think of is to let your program start
    : another instance of itself and shut itself down.
    : Hint for the future: It's always a good coding pratice to have your
    : program initialization in a few procedures. This makes this
    : situation and others (like adding a config support) more manageable.



    i'll check out that idea thanks
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories