想在這邊寫技術類的Blog
DIM i AS INTEGER DIM sum AS INTEGER sum = 0 FOR i = 1 TO 100 STEP 1 sum = sum + i NEXT i PRINT "1 + 2 + 3 + ... + 100 = ", sum END
綁在人生邊上
想在這邊寫技術類的Blog
DIM i AS INTEGER DIM sum AS INTEGER sum = 0 FOR i = 1 TO 100 STEP 1 sum = sum + i NEXT i PRINT "1 + 2 + 3 + ... + 100 = ", sum END