+ Reply to Thread
Results 1 to 4 of 4

Thread: Generate random numbers

  1. #1
    Senior Member
    Join Date
    Aug 2011
    Location
    British Columbia, Canada
    Posts
    383

    Generate random numbers

    Has anybody written a random number generator macro/submacro?

    Thanks.

    Scott

  2. #2
    See for example:
    http://rosettacode.org/wiki/Knuth_sh...macro_language

    That is a small program to shuffle numeric registers using Knuth shuffle.
    It contains random number generator subroutine.

    In the description part there is a link to a routine that shuffles text lines in an edit buffer.

    --
    Pauli
    Last edited by pal; September 17th, 2011 at 08:51 AM.

  3. #3
    Senior Member
    Join Date
    Aug 2011
    Location
    British Columbia, Canada
    Posts
    383
    Thanks Pauli. Sorry for delay in reply, was away for the weekend. Scott

    Quote Originally Posted by pal View Post
    See for example:
    http://rosettacode.org/wiki/Knuth_sh...macro_language

    That is a small program to shuffle numeric registers using Knuth shuffle.
    It contains random number generator subroutine.

    In the description part there is a link to a routine that shuffles text lines in an edit buffer.

    --
    Pauli

  4. #4

    Generate random numbers

    Hi,

    I need to general random decimal numbers on the fly. I know how to generate a random number but how do i generate number with decimal ?? Help
    Time-tested automated trading system for independent business

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts