Navigation:  thinBasic Modules > Console >

Console_CreateScreenBuffer

Previous pageReturn to chapter overviewNext page

 

Description

 

Creates a console screen buffer.

 

Syntax

 

hConsole = Console_CreateScreenBuffer

 

Returns

 

Number.

If the function succeeds, the return value is a handle to the new console screen buffer.

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

A console can have multiple screen buffers. Console_SetActiveScreenBuffer determines which one is displayed. You can write to an inactive screen buffer and then use Console_SetActiveScreenBuffer to display the buffer's contents.

 

Restrictions

 

See also

 

Examples