How can I do a Random number generator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ZaYoOoD
    Forum Member
    • Feb 2007
    • 4

    How can I do a Random number generator

    Hi ..

    I got a question

    I tried to do a Random number generator
    but I failed

    I don't know why ..

    but if any one can help me .. with a tut or something

    here's my object
    ( the .am6 )

    DOWNLOAD

    ( and action to generate a number between the first number you write and the second one )

    and I must mention .. that I am not an expert in this program

    I hope I find a help

    THANKS alot ,,
    and goodbye ..
    Last edited by ZaYoOoD; 02-01-2007, 01:51 PM.
  • RizlaUK
    Indigo Rose Customer
    • May 2006
    • 5552

    #2
    your apz is unusable

    go to the menu File>>Export and attach it to this post
    Embrace change in your life, you never know, it could all work out for the best

    Comment

    • jfxwave
      Forum Member
      • Mar 2006
      • 145

      #3
      Put this in
      OnClick (button)

      Input1 = Input.GetText("Input1");
      Input2 = Input.GetText("Input2");
      Input1 = String.ToNumber(Input1);
      Input2 = String.ToNumber(Input2);

      Input3 = Math.Random(Input1, Input2);
      Input.SetText("Input3", Input3);

      Comment

      • ZaYoOoD
        Forum Member
        • Feb 2007
        • 4

        #4
        Thanks alot mates ..
        especially jfxwave
        that was very usefull
        now its working 100% as I wanted
        thanks

        THANKS ALOT..
        and goodbye ..

        Comment

        Working...
        X