|
<< Click to Display Table of Contents >> RESET |
![]() ![]()
|
The RESET statement is used to reset the workspace, similar to closing and reopening the Gekko application. With RESET, Gekko will not try to run any gekko.ini files to reload models, databanks, options, etc. (use RESTART to do that).
Among other things, RESET closes all opened databanks, clears the Work, Ref, Local and Global databanks, and in addition options, models, libraries etc. are cleared. Please note that when resetting, the frequency is always set to annual, and the time period is set from t-10 to t, where t is the current year. See the RESTART or CLOSEALL statement, if you need frequency, time settings, options or other things to persist after resetting.
Use this syntax to reset the workspace:
reset; |
Clears the workspace (i.e. all Gekko RAM objects, including user functions and procedures). It does not run gekko.ini from the program and/or working folders, even if these files exist.
The INI statement can be used to run gekko.ini files after a RESET (RESET followed by INI is equivalent to RESTART).
flush()
CLEAR, CLOSE, CLOSEALL, CLS, CUT, DELETE, INI, RESTART