![]() |
|
D'ont read a file - Printable Version +- Small Basic Forum (https://litdev.uk/mybb) +-- Forum: Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=1) +--- Forum: Standard Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=2) +--- Thread: D'ont read a file (/showthread.php?tid=585) |
D'ont read a file - francesco - 04-12-2026 In the following code there is a problem, it does not read the file for me. Code: Sub frasi_puoi_passareRE: D'ont read a file - WhTurner - 04-12-2026 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. |