GLBasic 编程/BASIC/PRINT、CLEARSCREEN 和 END
外观
这里你可以看到更多有关 PRINT、CLEARSCREEN 和 END 的函数
CLEARSCREEN PRINT "Hello, world!" PRINT "I'm learning about commands in BASIC." PRINT "This text is being printed via the PRINT command." PRINT "On the next line, I'll use SHOWSCREEN, then CLEARSCREEN." SHOWSCREEN CLEARSCREEN PRINT "Finally, on line 11, I'll use END." SHOWSCREEN KEYWAIT END PRINT "Now my program is over." SHOWSCREEN
它制作
Finally, on line 10, I'll use END.
因为有一个 END 函数,所以位于 END 之后的材料不会被使用。