W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗值獎勵
WHILE命令的一般格式如下 :
WHILE <logical expression> <statement block>. ENDWHILE.語句塊可以是單個語句或語句塊。
REPORT YS_SEP_15. DATA: a type i. a = 0. WHILE a <> 8. Write: / 'This is the line:', a. a = a + 1. ENDWHILE.
上面的代碼產(chǎn)生以下輸出 :
This is the line: 0 This is the line: 1 This is the line: 2 This is the line: 3 This is the line: 4 This is the line: 5 This is the line: 6 This is the line: 7
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: