#BUNDLE Type

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Tools > thinBundle >

#BUNDLE Type

 

Description

 

Force BUNDLE process to create a specific type of executable: Gui or Console

 

Syntax

 

#BUNDLE Type {Console | Gui}

 

Returns

 

None.

 

Parameters

 

Remarks

 

Console instruct thinBundle to create a real 32bit Console application. ON executable startup a console window, if does not already exists for current process (or calling process), will be created.

Gui instruct thinBundle to create a real 32bit Windows application. If the script uses Console module it will in any case create a console window.

 

If no indications, Bundled executable create a Gui executable.

 

Restrictions

 

This directive is a pre parsing directive.

It means all #BUNDLE ... statements will be solved before starting script execution.

 

See also

 

Examples

 

#BUNDLE Type Console

 

#BUNDLE Type Gui