Sierpinski carpet: Difference between revisions

m
→‎{{header|Quite BASIC}}: S = 3 * S instead of S = R * S (R quite accidentally is equal to 3, but it represents the order, not the base).
m (→‎{{header|Liberty BASIC}}: Added {{works with|Just BASIC}}.)
m (→‎{{header|Quite BASIC}}: S = 3 * S instead of S = R * S (R quite accidentally is equal to 3, but it represents the order, not the base).)
Line 1,313:
40 LET S = 1
50 FOR P = 1 TO R
60 LET S = R3 * S
70 NEXT P
80 REM Now S (size) is 3 to the power of R (order)
512

edits