Tandy 1000 Basic Reference Manual page 268

Hide thumbs Also See for 1000:
Table of Contents

Advertisement

Chapter 10 I BASIC Ke.ywords
PMAP
Function
PMAP(coordinate,action)
Returns the physical
or
world coordinate for the specified coordi-
nate.
Coordinate
is any x- or y-coordinate. If
coordinate
is a physical
coordinate, it must be within the limits of the screen.
If coordi-
nate
is a world coordinate, it may be any single precision floating
point number.
Action
is one of the following:
0
returns the physical x-coordinate for the specified
world coordinate.
returns the physical y-coordinate for the specified
world coordinate.
returns the world x-coordinate for the specified physi-
cal coordinate.
returns the world y-coordinate for the specified physi-
cal coordinate.
1
2
3
Example
A
=
P M A P ( 2 0 0 , B )
returns the physical x-coordinate of the world coordinate 200
and places it in A.
266

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents