Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

GLBasic Programming/BASIC/IF...THEN...ELSEIF...ELSE

From Wikibooks, open books for an open world
<GLBasic Programming

This part is about the commandsIFTHENELSEIFELSE.

LET number = -3 //Or your ownIF number<0 THEN  PRINT "Number is negative"ELSEIF number>0 THEN  PRINT "Number is positive"ELSE  PRINT "Number is zero"END IF

I hope you got it now.

Previous: BASIC/User InputIndexNext: BASIC/WHILE...WEND
Retrieved from "https://en.wikibooks.org/w/index.php?title=GLBasic_Programming/BASIC/IF...THEN...ELSEIF...ELSE&oldid=2288202"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp