Skip to content

DisplayModeWidth

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
BlitzLLVM

DisplayModeWidth 〔BlitzLLVM〕

DisplayModeWidth:Int32 display:Int32, mode:Int32
Parameter Mode Type Default Description
display In Int32 required The display number, from 1 to CountDisplays.
mode In Int32 required The mode number, from 1 to CountDisplayModes.

Returns: The width, or 0 if the display or mode does not exist.

Description

〔BlitzLLVM〕 This command does not exist in the original Blitz products. BlitzLLVM adds it.

The width in pixels of a mode from the list of a display. This is a BlitzLLVM extension: the originals have no way to ask for more than the main display.

Differences

  • A display or mode number that does not exist gives 0 instead of stopping the program, unlike GfxModeWidth.

Related Commands

DisplayDepth 〔BlitzLLVM〕, DisplayHeight 〔BlitzLLVM〕, DisplayModeDepth 〔BlitzLLVM〕, DisplayModeHeight 〔BlitzLLVM〕, DisplayModeRefreshRate 〔BlitzLLVM〕, DisplayName 〔BlitzLLVM〕, DisplayWidth 〔BlitzLLVM〕, GfxModeWidth

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally