The higher the colon count the crappier the line of code, usually.
For assignments, it makes sense until QB64pe allows commas in such lines.
a = 1, b = 2, ...
yeah thats nice!
Still crappy is saying goto 10 twice. But you pay a price for one-liners.
For assignments, it makes sense until QB64pe allows commas in such lines.
a = 1, b = 2, ...
(01-12-2025, 12:48 AM)SMcNeill Wrote:(01-12-2025, 12:41 AM)bplus Wrote: I was going for a one-liner like the original that didn't need the _Font 8 to fix the print.
I think what you wanted was something more like this then:
Code: (Select All)10 screen 1: cnt = cnt + 1: If cnt < 1921 Then If Rnd < .5 Then Print "\";: GoTo 10 Else Print "/";: GoTo 10
Single line of code, no use of _Font 8... Several screen modes default to font 8, and Screen 1 is one of those.
yeah thats nice!
Still crappy is saying goto 10 twice. But you pay a price for one-liners.
b = b + ...