Navigation:  thinBasic Modules > Console >

Console_Line

Previous pageReturn to chapter overviewNext page

 

Description

 

Draw a line in console window.

 

Syntax

 

Console_Line(XPos, YPos, Len [, Direction])

 

Returns

 

Parameters

 

Name

Type

Optional

Meaning

XPos

Number

No

Start X position of the line

YPos

Number

No

Start Y position of the line

Len

Number

No

The length of the line

Direction

Number

No

Vertical or horizontal. Possible values:

%Console_Line_Vertical

%Console_Line_Horizontal

 

Remarks

 

This function will check current ascii char before printing line char in order to be able to create grids.

Still to be finished

 

Restrictions

 

See also

 

Console Module

 

Examples