04-12-2026, 03:39 PM
If I run your program snippet (after the removal of the Sub and Endsub lines)
it runs and reads the file. It will only choose one of the lines 1 through 3
because you subtract 1 from lungezza1a which is in this case 3.
Math.GetRandomNumber takes then one of the numbers 1 2 or 3 and never 4.
it runs and reads the file. It will only choose one of the lines 1 through 3
because you subtract 1 from lungezza1a which is in this case 3.
Math.GetRandomNumber takes then one of the numbers 1 2 or 3 and never 4.

