4 ms·
10 FOR A = 0 TO 50 20 B = SIN(A/4) 30 C = 20 + 20 * B 40 FOR D = 0 TO C 50 PRINT " "; 60 NEXT 70 PRINT "*" 80 NEXT Careful of the k
by cbm-vic-20 7y ago
10 FOR A = 0 TO 50
20 B = SIN(A/4)
30 C = 20 + 20 * B
40 FOR D = 0 TO C
50 PRINT " ";
60 NEXT
70 PRINT "*"
80 NEXT
Careful of the keyboard emulation. Double quote is Shift-2, left paren is shift-8, right paren is shift-9, plus is |, etc.
- microcolonel 7y agoExtra confusing since I'm on a native Dvorak keyboard.
- jandrese 7y agoI couldn't figure out how to generate a "=" so had to double click on the 5x6 spot on the table of 0s on the right. The page could probably use a cheat sheet on the bottom explaining the keymap.