ruthven Posted September 16, 2022 Share Posted September 16, 2022 This is probably a novice question but I'm finding that RANDOMIZE no longer produces random results if the program happens to be an XB auto-booting program called LOAD. Here is a very basic example of what I mean: 10 RANDOMIZE 20 PRINT INT(10*RND)+1 Obviously this should just print a random number between 1 and 10 and under normal circumstances it works. That is it at least appears to give a random number every time I run it, which includes if I save it as any file name other than LOAD. I can reset the computer and load the program (either with OLD or RUN in XB) and it still appears to give a random number each time. But if it is an auto-booting LOAD program, it just picks 5 every time (well every time on the first boot I mean). If I modify the program to pick two more random numbers, it always picks 6, then 2. So now my program always picks 5, 6, 2 when it auto-boots. Is there something simple here that I'm just missing about LOAD programs? Thanks Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.