Search:

Type: Posts; User: The_Mexican

Search: Search took 0.27 seconds.

  1. Replies
    6
    Views
    1,790

    Re: Keeping Variable Values

    Ah thanks copeg! So this will make it so that no matter where the text file resides, the program will find it, cool.
  2. Replies
    6
    Views
    1,790

    Re: Keeping Variable Values

    Thanks! I solved the problem using:

    (System.getenv("USERPROFILE")+"\\Downloads\\txtfile.txt"));

    I haven't actually tested this, but I assume it'll work for at least all windows users.
  3. Replies
    6
    Views
    1,790

    Re: Keeping Variable Values

    Thank you, this works. :D

    EDIT: Okay, so this now brings up the problem of being able to always have the location of the file the same. So for me it would be C:\\UserName\ThisPartIsProbablyTheSame...
  4. Replies
    6
    Views
    1,790

    Keeping Variable Values

    Hello, I was just wondering if it's possible to keep the variable values every time someone runs the program without using anything web based. So for example: x=0, when the person runs the program...
Results 1 to 4 of 4