17.07.2013 Views

GWBASIC User's Manual

GWBASIC User's Manual

GWBASIC User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GW-BASIC <strong>User's</strong> Guide<br />

PMAP Function (Graphics)<br />

Purpose:<br />

To map expressions to logical or physical coordinates.<br />

Syntax:<br />

x=PMAP (exp,function)<br />

Comments:<br />

This function is valid for graphics modes only.<br />

x is the physical coordinate of the point that is to be mapped.<br />

exp is a numeric variable or expression.<br />

Function Maps<br />

0 logical expressions to physical x<br />

1 logical expressions to physical y<br />

2 physical expressions to logical x<br />

3 physical expressions to logical y<br />

PMAP is used with WINDOW and VIEW to translate coordinates.<br />

file:///C|/Documents%20and%20Settings/Lorenzo/Desktop/GW%20Basic/PMAP.html28/03/2004 21.29.42

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!