Re: A86: Re: Re: Creating distinct random-integer lists using ASM or BAS


[Prev][Next][Index][Thread]

Re: A86: Re: Re: Creating distinct random-integer lists using ASM or BASIC




In a message dated 98-10-02 20:04:52 EDT, you write:

<< But to get a random list from any range, just do this:
 :input "Minimum:",A    ;get input for a minimum value
 :input "Maximum:",B    ;get input for a maximum value
 :randint(A,B)->C           ;Get a random integer between min. and max.
 :;put some code here to make your list
 Hope this helps, >>

How will you eliminate repeated variables?  If you did it that way you could
get a list something like {1, 2, 6, 6, 7, 7, etc..}