Results 1 to 5 of 5

Thread: Random Number

  1. #1
    null null
    Guest

    Random Number

    Hello Enrico
    Is there a way to generate random numbers for use in the [logic] section?

    David


  2. #2
    Enrico Schiratti
    Guest

    Re: Random Number

    Something generating a value between 0 and 999 would do the trick?

    Ciao

    Enrico

    "David Allen" wrote in message
    news:269285.53447@wb.onvix.com...
    > Hello Enrico
    > Is there a way to generate random numbers for use in the [logic] section?
    >
    > David
    >



  3. #3
    null null
    Guest

    Re: Random Number

    That range would be fine!

    On Sat, 13 Nov 2004 11:22:27 EST, Enrico
    Schiratti wrote:

    >Something generating a value between 0 and 999 would do the trick?
    >
    >Ciao
    >
    >Enrico
    >
    >"David Allen" wrote in message
    >news:269285.53447@wb.onvix.com...
    >> Hello Enrico
    >> Is there a way to generate random numbers for use in the [logic]

    section?
    >>
    >> David
    >>



  4. #4
    Enrico Schiratti
    Guest

    Re: Random Number

    I added "random" as a system variable... from 0 to 999 and it changes every

    logics cycle.

    Ciao

    Enrico

    "David Allen" wrote in message
    news:269460.53447@wb.onvix.com...
    > That range would be fine!
    >
    > On Sat, 13 Nov 2004 11:22:27 EST, Enrico
    > Schiratti wrote:
    >
    >>Something generating a value between 0 and 999 would do the trick?
    >>
    >>Ciao
    >>
    >>Enrico
    >>
    >>"David Allen" wrote in message
    >>news:269285.53447@wb.onvix.com...
    >>> Hello Enrico
    >>> Is there a way to generate random numbers for use in the [logic]

    > section?
    >>>
    >>> David
    >>>

    >



  5. #5
    null null
    Guest

    Re: Random Number

    Hello Enrico
    Is there a way to code so that the function [delay] is a variable
    name.

    Like using a variable name [delay1]

    Then could I set the value of delay1 using [INIT] random/100 =
    delay1

    David

    On Wed, 24 Nov 2004 05:11:07 EST, Enrico
    Schiratti wrote:

    >I added "random" as a system variable... from 0 to 999 and it changes every


    >
    >logics cycle.
    >
    >Ciao
    >
    >Enrico
    >
    >"David Allen" wrote in message
    >news:269460.53447@wb.onvix.com...
    >> That range would be fine!
    >>
    >> On Sat, 13 Nov 2004 11:22:27 EST, Enrico
    >> Schiratti wrote:
    >>
    >>>Something generating a value between 0 and 999 would do the trick?
    >>>
    >>>Ciao
    >>>
    >>>Enrico
    >>>
    >>>"David Allen" wrote in message
    >>>news:269285.53447@wb.onvix.com...
    >>>> Hello Enrico
    >>>> Is there a way to generate random numbers for use in the [logic]

    >> section?
    >>>>
    >>>> David
    >>>>

    >>



Similar Threads

  1. Real parts number
    By 767300 in forum General Builder Questions All Aircraft Types
    Replies: 2
    Last Post: 08-17-2008, 05:09 PM
  2. Just a random thought or two...
    By Michael Carter in forum I/O Interfacing Hardware and Software
    Replies: 20
    Last Post: 12-05-2007, 10:55 PM
  3. pmsystem logics section: random values
    By Enrico Schiratti in forum PMSystems
    Replies: 0
    Last Post: 01-13-2006, 12:55 PM