We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
D'ont read a file
#2
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.
Reply


Messages In This Thread
D'ont read a file - by francesco - 04-12-2026, 09:11 AM
RE: D'ont read a file - by WhTurner - 04-12-2026, 03:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)