Console_GetStdHandle

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Console >

Console_GetStdHandle

 

Description

 

Retrieves a handle to the specified standard device (standard input, standard output, or standard error).

 

Syntax

 

handle = Console_GetStdHandle(standardDevice)

 

Returns

 

Handle of the specified standard device.

 

Parameters

 

Name

Type

Optional

Meaning

standardDevice

Number

No

10 - stdin

11 - stdout

12 - stderr

 

Remarks

 

Restrictions

 

See also

 

Examples