Jump to content
Ketarin forum
Guest easteregg

random variable problem

Recommended Posts

Guest easteregg

Hi!

What I want to do is setup a random variable once before the application update check (not the download) starts and then have this variable been used during updating and downloading several times without having its original value being changed again. It should change before the next update check, though. Is this possible?

Currently the random variable gets updated everytime its used, causing different results in the parts of the update process. That's bad. :(

Share this post


Link to post
Share on other sites

What have you tried? How are you creating your random variable now? Does your random variable need to be unique a la GUID, or is something like the current timestamp {time} sufficient, or does it need to meet another specific format?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.