WoW:API GetCurrentResolution: Difference between revisions

m
Move page script moved page API GetCurrentResolution to WoW:API GetCurrentResolution without leaving a redirect
(part of a API redesign proposal, please don't change the layout for the next few days)
 
m (Move page script moved page API GetCurrentResolution to WoW:API GetCurrentResolution without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:


===Example===
===Example===
<dd>
  message('The current screen resolution is ' .. ({GetScreenResolutions()})[GetCurrentResolution()])
  message('The current screen resolution is ' .. ({GetScreenResolutions()})[GetCurrentResolution()])
Output:
Output:
  The current screen resolution is 1024x768
  The current screen resolution is 1024x768
Anonymous user