Navigation:  thinBasic Modules > Console > Console_ProgressBar >

Console_GetProgressBarChar

Previous pageReturn to chapter overviewNext page

 

Description

 

Function to retrieve ASCII code of character used when rendering progress bar in console.

 

Syntax

 

nASCII = Console_GetProgressBarChar

 

Returns

 

ASCII code of progress bar character

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

The default progress bar character is 42, you can change it using Console_SetProgressBarChar

 

Restrictions

 

See also

 

Console_SetProgressBarChar

 

Examples

 

USES "Console"

PRINTL "Character used To render PROGRESSBAR: " + CHR$(Console_GetProgressBarChar)

 

Console_SetProgressBarChar(65)

PRINTL "Character used To render PROGRESSBAR: " + CHR$(Console_GetProgressBarChar)

 

WAITKEY