PDA

View Full Version : Random Number



null null
11-12-2004, 04:12 PM
Hello Enrico
Is there a way to generate random numbers for use in the [logic] section?

David

Enrico Schiratti
11-13-2004, 12:22 PM
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
>

null null
11-13-2004, 01:38 PM
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
>>

Enrico Schiratti
11-24-2004, 06:11 AM
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
>>>
>

null null
11-24-2004, 04:00 PM
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
>>>>
>>