Random Number#

Generating a random number with specified parameters.

Min. value[Number] Inclusive lower bound of the returned random number.
Max. value[Number] Exclusive upper bound of the returned random number. The value of the MaxValue property must be greater than or equal to the value of the MinValue property.
Step[Number] Step of the random number. For example, if Min. value = 1, Max. value = 10, Step = 1, then the random numbers can be any of the numbers (1,2,3,4,5,6,7,8,9,10), and if Step = 2, then any of the numbers (1,3,5,7,9).
Result[Number] Variable containing the generated random number.
Error handling level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.