Basic computer language commands

Basic computer programming language

PMAP Function (Graphics)

Purpose:

To map expressions to logical or physical coordinates.

Syntax:

x=PMAP (exp,function)

Comments:

This function is valid for graphics modes only.

x is the physical coordinate of the point that is to be mapped.

exp is a numeric variable or expression.

FunctionMaps
0logical expressions to physical x
1logical expressions to physical y
2physical expressions to logical x
3physical expressions to logical y

PMAP is used with WINDOW and VIEW to translate coordinates.

BASIC commands Main Menu

Index