while not Keys.newPress.Start do
Controls.read()
startDrawing()
screen.print(SCREEN_UP,0,0,"Press START to quit")
screen.print(SCREEN_UP,50,50,"Text TEXT (SCREEN_UP)")
screen.print(SCREEN_DOWN,50,50,"Text TEST (SCREEN_DOWN)")
stopDrawing()end
表示例
サンプル2
2バイト文字はどうなるか?
while not Keys.newPress.Start do
Controls.read()
startDrawing()
screen.print(SCREEN_UP,0,0,"Press START to quit")
screen.print(SCREEN_DOWN,0,0,"ハロー ルア ワールド!")
stopDrawing()end
表示例
サンプル3
1行の文字列は?
while not Keys.newPress.Start do
Controls.read()
startDrawing()
screen.print(SCREEN_UP,0,0,"Press START to quit")
screen.print(SCREEN_DOWN,0,0," 1 2 3 4")
screen.print(SCREEN_DOWN,0,8,"123456789012345678901234567890123456789012")
stopDrawing()end