title "SS言語"
bgscr 0,1920,1080,0,0,0
color 60,60,60
boxf
color 30,30,30
boxf 0,0,1920,80
color 255,255,255
font "msgothic",80
mes "SS言語"
buffer 1
screen 1,640,480
color 255,0,0
boxf
color 255,255,255
font "Marlett",80
mes "r"
buffer 2
screen 2,640,480
color 255,125,0 : boxf
font "msgothic",80
color 255,255,255
mes "実行"
gsel 0
objmode 2,0
objimage 1,0,0,0,0,0,0
objsize 80,80
pos 1920-80,0
button "",*ends
objimage 2
objsize 160,80
pos 800,0
button "",*zikkou
main = ""
pos 0,80
mesbox main,1920,1000
stop
*ends
end
stop
*zikkou
if main = "newscreen" {
screen 3
onexit *endk
}
if main = "" : dialog "テキストを書いてください"
stop
*endk
gsel 3,-2
onexit *ends
↑newscreenのみ打つとウインドウが出てくるソースコード↑
newscreen
print ("Hello world")
で実行すると
Hello world と表示される的なプログラムを作りたいです