Results 1 to 4 of 4

Thread: How the show the random integer chosen in the Debug

  1. #1
    Join Date
    Jan 2012
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default How the show the random integer chosen in the Debug

    How would I show the random integer chosen in the Debug?
    I am just learning scripting and trying to customize for things in a script.

    So:
    Wait(RandomRange(10000, 45000));
    I would like to know the random number it chooses.

    Thanks

  2. #2
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Simba Code:
    program new;
    var
      x: integer;
    begin
      x := RandomRange(10000, 45000);
      writeln(x);
      wait(x);
    end.

  3. #3
    Join Date
    Jan 2012
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by footballjds View Post
    Simba Code:
    program new;
    var
      x: integer;
    begin
      x := RandomRange(10000, 45000);
      writeln(x);
      wait(x);
    end.
    Grand, thanks.

  4. #4
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Quote Originally Posted by halgboy_tbc View Post
    Grand, thanks.
    anytime!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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