ConEnd command

 

Usage:

ConEnd

 

Legacy Syntax:

n/a

 

Pseudo-object Syntax:

CON.END

 

Terminate the console window.

 

The console window currently attached to your program is released and detached from the process. If the console window was created by your program, it is destroyed.

 

ConEnd is useful only if you wish to create a console window temporarily and destroy it after use, without termination of the program.

 

LJ-CC creates the console window on first execution of any Con... command or function.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  CON.END

#ELSE

  ConEnd

#ENDIF

 

There is no equivalent command in PB/CC versions earlier than 6.

 

See Also: ConNew