imageWidth()

イメージスロットにあるイメージの横幅を求める。もしそのスロットにイメージがないときは、 エラーになりプログラムがハルトする。

書式:
variable = imageWidth( slot )

例:
loadimage("sprites.png",1)
prints( imageWidth( 1 ) )
waitkey

例:
imageproperties.sdlbas