create a random number


  • hello everyone, I'm looking for some kind of function in the SRC that creates a random number. if this type and function does not exist, do you suggest any specific type of development for this task?
    tks

  • There are extra packages called "addons" and they are available for free at the technical data. There is the "expansion addon" with the VAL3 command "rand()":


    Here the explanation:

    Quote

    num $rand(), num $rand(num seed)

    This instruction returns a pseudorandom number n with 0<=n<1. The seed argument reset the

    pseudorandom sequence. This allows computations to be repeated.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now