Import "ShanHai.lua"
//获取屏幕分辨率以及dpi
Dim scrarr
scrarr = shanhai.GetScreen()
TracePrint "宽"&scrarr(0)
TracePrint "长"&scrarr(1)
TracePrint "当前屏幕DPI为: " & scrarr(2)
Import "ShanHai.lua"
//获取屏幕分辨率以及dpi
Dim scrarr
scrarr = shanhai.GetScreen()
TracePrint "宽"&scrarr(0)
TracePrint "长"&scrarr(1)
TracePrint "当前屏幕DPI为: " & scrarr(2)