GUI/Maximum window dimensions: Difference between revisions

Add XPL0 example.
(Added Delphi example)
(Add XPL0 example.)
Line 1,096:
$ ./dome max_window_dimensions.wren
Maximum window dimensions are 1853 x 1018
</pre>
 
=={{header|XPL0}}==
GetFB is a built-in function available on the Raspberry Pi that returns information about the current frame buffer.
<lang XPL0>int A;
[A:= GetFB;
Text(0, "Width = "); IntOut(0, A(0)); CrLf(0);
Text(0, "Height = "); IntOut(0, A(1)); CrLf(0);
]</lang>
 
{{out}}
<pre>
Width = 1280
Height = 720
</pre>
 
772

edits