ScreenWidth()

Syntax

Result = ScreenWidth()
Description
Returns the current screen width, previously opened with OpenScreen() or OpenWindowedScreen().

Parameters

None.

Return value

The current screen width, or zero if no screen is opened.

See Also

OpenScreen(), OpenWindowedScreen(), ScreenHeight(), ScreenDepth()

Supported OS

All

<- ScreenOutput() - Screen Index - SetFrameRate() ->