Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
another variation of "10 PRINT"
#9
??? "One thing curious though, and see if you can answer this: Why does your method take several seconds to run, while mine is instant?"

I suspect it is the _Font 8 line that slows things down. Obviously, to me anyway, I was going for a one-liner like the original that didn't need the _Font 8 to fix the print.

Another way that is fast:
Code: (Select All)
_Font 8
10 If Rnd < .5 Then Print "\"; Else Print "/";
c = c + 1: If c < 1920 Then GoTo 10

Another way:
Code: (Select All)
_Font 8
10 c = c + 1: If c < 2001 Then If Rnd < .5 Then Print "\"; Else Print "/";
GoTo 10
b = b + ...
Reply


Messages In This Thread
another variation of "10 PRINT" - by hsiangch_ong - 12-27-2024, 04:55 PM
RE: another variation of "10 PRINT" - by Jack002 - 01-09-2025, 11:54 PM
RE: another variation of "10 PRINT" - by bplus - 01-11-2025, 06:13 PM
RE: another variation of "10 PRINT" - by SMcNeill - 01-11-2025, 10:28 PM
RE: another variation of "10 PRINT" - by bplus - 01-11-2025, 11:48 PM
RE: another variation of "10 PRINT" - by SMcNeill - 01-11-2025, 11:58 PM
RE: another variation of "10 PRINT" - by SMcNeill - 01-12-2025, 12:35 AM
RE: another variation of "10 PRINT" - by bplus - 01-12-2025, 12:41 AM
RE: another variation of "10 PRINT" - by SMcNeill - 01-12-2025, 12:43 AM
RE: another variation of "10 PRINT" - by SMcNeill - 01-12-2025, 12:48 AM
RE: another variation of "10 PRINT" - by bplus - 01-12-2025, 12:53 AM
RE: another variation of "10 PRINT" - by JRace - 01-12-2025, 02:03 AM
RE: another variation of "10 PRINT" - by SMcNeill - 01-12-2025, 02:23 AM
RE: another variation of "10 PRINT" - by bplus - 01-12-2025, 02:52 AM
RE: another variation of "10 PRINT" - by JRace - 01-12-2025, 03:11 AM
RE: another variation of "10 PRINT" - by SMcNeill - 01-12-2025, 03:24 AM
RE: another variation of "10 PRINT" - by bplus - 01-12-2025, 03:23 AM
RE: another variation of "10 PRINT" - by JRace - 01-12-2025, 03:47 AM
RE: another variation of "10 PRINT" - by Jack002 - 01-12-2025, 07:45 PM
RE: another variation of "10 PRINT" - by bplus - 01-12-2025, 09:02 PM
RE: another variation of "10 PRINT" - by Jack002 - 01-13-2025, 02:56 PM
RE: another variation of "10 PRINT" - by JRace - 01-13-2025, 10:16 PM
RE: another variation of "10 PRINT" - by Jack002 - Yesterday, 10:05 PM
RE: another variation of "10 PRINT" - by SMcNeill - 01-13-2025, 02:12 PM
RE: another variation of "10 PRINT" - by bplus - 01-13-2025, 04:25 PM
RE: another variation of "10 PRINT" - by JRace - 01-13-2025, 06:24 PM
RE: another variation of "10 PRINT" - by SMcNeill - 01-13-2025, 06:44 PM
RE: another variation of "10 PRINT" - by JRace - 01-13-2025, 07:03 PM
RE: another variation of "10 PRINT" - by bplus - 01-13-2025, 07:51 PM
RE: another variation of "10 PRINT" - by Jack002 - Yesterday, 09:59 PM
RE: another variation of "10 PRINT" - by bplus - Yesterday, 01:39 AM
RE: another variation of "10 PRINT" - by JRace - Yesterday, 02:16 AM
RE: another variation of "10 PRINT" - by bplus - Yesterday, 02:27 AM
RE: another variation of "10 PRINT" - by JRace - Yesterday, 02:33 AM



Users browsing this thread: 17 Guest(s)