PMAP Function
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Returns the window coordinate equivalent to a viewport coordinate as defined
by the WINDOW statement, or vice versa. Function not available when forms
are showing.
PMAP (startcoordinate#, n%)
■ startcoordinate# X or Y coordinate in the window or viewport
■ n% Value indicating which coordinate is returned:
If n% is and startcoordinate# is then PMAP returns
════════ ═══════════════════════ ═════════════════════
0 Window x coordinate Viewport x coordinate
1 Window y coordinate Viewport y coordinate
2 Viewport x coordinate Window x coordinate
3 Viewport y coordinate Window y coordinate
See Also
◄POINT Function► ◄VIEW Statement► ◄WINDOW Statement►