俠倛倎倫倲倕倰俁丏 僗僥乕僩儊儞僩
俁.侾丂惂屼宯僗僥乕僩儊儞僩
僗僥乕僩儊儞僩柤
俥俷俼乧俿俷乧俽俿俤俹乧俶俤倃俿
婡擻
FOR乣NEXT 娫傪巜掕夞悢偩偗儖乕僾偡傞丅
彂幃
FOR
儖乕僾僇僂儞僞
=
奐巒抣
TO
廔椆抣
乵
STEP
憹尭抣
乶
乵
乣張棟乣
乶
NEXT
夝愢
杮僗僥乕僩儊儞僩偱偼儖乕僾偡傞夞悢傪僇僂儞僩偡傞堊偺曄悢乮儖乕僾僇僂儞僞乯傪侾偮梡堄偡傞昁梫偑偁傞丅摨曄悢偼 FOR 偱弶婜壔偟丄FOR乣NEXT 傪儖乕僾偡傞枅偵 STEP 偵巜掕偟偨抣乮徣棯帪偼 +1乯傪壛偊偰峴偒丄TO 偵巜掕偟偨抣偵側傞傑偱儖乕僾傪孞傝曉偡丅
梡椺
曄悢 SUM 偵丄1乣100 偺崌寁傪媮傔傞丅
SUM = 0 FOR I = 1 TO 100 SUM = SUM + I NEXT
曄悢 SUM 偵丄3c9497100乮3偺攞悢乯偺崌寁傪媮傔傞丅
SUM = 0 FOR I = 3 TO 100 STEP 3 SUM = SUM + I NEXT