# 'LINE' Define/Draw a Line

> Source: https://manual.pvxplus.com/mnemonics/line

**GUI Display/Printer**

## Format

'LINE'(*x*,*y*,*x*,*y*\[,*x*,*y* ...\]**)**

***Where:***

|  |  |
| --- | --- |
| *x*,*y* | Sets of *x,y* coordinates in graphical units. Numeric expression. |

## Description

Use **'LINE'** to draw (print) a line on the device (e.g. terminal). Use graphical units or **@X(col) / @Y(line)** functions for the various coordinates. The **'LINE'** mnemonic draws these lines using the current **'PEN'** attributes.

## See Also

**[@X(col) / @Y(line) Convert X/Y Coordinates](https://manual.pvxplus.com/functions/x)**  
**['PEN' Define Pen Style](https://manual.pvxplus.com/mnemonics/pen)**

## Example

```
print 'line'(224,450,355,420,210,400)
```
