Author Topic: fun with randomize  (Read 7440 times)

0 Members and 1 Guest are viewing this topic.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: fun with randomize
« Reply #15 on: November 14, 2021, 11:26:09 am »
86,400 seconds, but TIMER also has fractions of seconds....

86,400,000 milliseconds, for example...

And we get more than .001 ticks after each timer statement..


RANDOMIZE works with SINGLE values, not LONG.

I think you're worried over something that will rarely, if ever, come up in normal life.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: fun with randomize
« Reply #16 on: November 14, 2021, 02:24:19 pm »
Steve,

Not worried. Just curious...

So... if 'random' does not actually exist, what would that mean to what we call, fate? I know. I know. Philosophical questions at 6:24am... What was I thinking? lol

Have a great day!

J
Logic is the beginning of wisdom.

Offline xra7en

  • Seasoned Forum Regular
  • Posts: 284
    • View Profile
Re: fun with randomize
« Reply #17 on: November 18, 2021, 06:09:34 pm »
same as @johnno56 - not worried, just having fun with being creative - not a definitive. After all, no true random anyways :P
I just like re-writing old DOS book games into modern QB64 code - weird hobby, I know!