CLOSEALL

<< Click to Display Table of Contents >>

Navigation:  Gekko User Manual > Gekko statements >

CLOSEALL

Previous pageReturn to chapter overviewNext page

The CLOSEALL statement closes all open databanks, and clears the Work and Ref databanks. The statement is exactly the same as issuing close *; clear;.

 

Contrary to RESET/RESTART, a CLOSEALL does not clear the Global or Local databanks, and options, models, libraries, global time period, etc. are not touched. So among other things, global settings stored in the Global databank will still be available after af CLOSEALL.

 

 


 

Syntax

 

closeall;

 

 


 

Example

 

The statement is simply:

 

closeall;

 

 


 

Note

 

In a sense, CLOSEALL is a less destructive version of RESET or RESTART.

 


 

Related statements

 

CLEAR, CLOSE, DELETE, OPEN, RESET, RESTART