MACHINE
Outputs a list that describes the characteristics of the machine. The list has the following format:
[IsWindows Wordsize DrawingSurfaceWidth DrawingSurfaceHeight IsPaletteEnable WindowsVersionMajor WindowsVersionMinor WorkingAreaWidth WorkingAreaHeight DesktopWidth DesktopHeight OuterWindowWidth OuterWindowHeight InnerWindowWidth InnerWindowHeight XScrollPosition YScrollPosition]
The meaning of each member is given by the table below.
Item | Name | Meaning |
---|---|---|
1 | IsWindows | 1, if this is Microsoft Windows. 0, otherwise. |
2 | Wordsize | The number of bits in a machine word. If the version of FMSLogo was compiled for a 32-bit machine, this is 32 even when running on a 64-bit Windows. |
3 | DrawingSurfaceWidth | The width of the drawing surface within the FMSLogo screen window, in pixels. |
4 | DrawingSurfaceHeight | The height of the drawing surface within the FMSLogo screen window, in pixels. |
5 | IsPaletteEnabled | 0, always (FMSLogo does not support displays that use palettes). |
6 | WindowsVersionMajor | The major version of Windows. |
7 | WindowsVersionMinor | The minor version of Windows. |
8 | WorkingAreaWidth | The width of the part of the desktop that is not obscured by the taskbar, in pixels. |
9 | WorkingAreaHeight | The height of the part of the desktop that is not obscured by the taskbar, in pixels. |
10 | DesktopWidth | The width of the whole desktop, in pixels. |
11 | DesktopHeight | The height of the whole desktop, in pixels. |
12 | OuterWindowWidth | The width of the FMSLogo screen window, in pixels. This includes the window frame, the vertical scollbar, etc. |
13 | OuterWindowHeight | The height of the FMSLogo screen window, in pixels. This includes the window frame, the title bar, the menu bar, the horizontal scrollbar, etc. If the commander window is docked, this also includes the thickness of the splitter and the commander. |
14 | InnerWindowWidth | The width of the client area of the FMSLogo screen window, in pixels. This only includes the visible portion of the drawing surface, not the window frame, scrollbar, etc. |
15 | InnerWindowHeight | The height of the client area of the FMSLogo screen window, in pixels. This only includes the visible portion of the drawing surface, not the window frame, scrollbar, etc. |
16 | XScrollPosition | The position of the screen window's horizontal scrollbar, in pixels. This is a nonnegative integer that indicates how many pixels of the left part of the drawing surface are not visibile because they are scrolled out of view. |
17 | YScrollPosition | The position of the screen window's vertical scrollbar, in pixels. This is a nonnegative integer that indicates how many pixels of the top part of the drawing surface are not visibile because they are scrolled out of view. |
SHOW MACHINE
[1 32 1000 1000 0 10 0 1920 1040 1920 1080 1155 728 1135 467 0 266]