There is a range of numbers, say "1 .. n", and there is a second range of numbers, say "2n .. 3n". I want to implement a sample of one random value from these two ranges of numbers.
Some kind of something like:
r:=RandomRange(RandomRange(1, 10), RandomRange(1000, 2000)); But after all, so here RandomRange will not cope with the task.
Those. In this example, in the generated random numbers, numbers in the range from 11 to 999 will be excluded.