HDG

<< Click to Display Table of Contents >>

Navigation:  Gekko User Manual > Gekko statements >

HDG

Previous pageReturn to chapter overviewNext page

HDG (heading) will put the heading into a databank file when it is written. This only works for .gbk files.

 


 

Syntax

 

hdg heading ;

 

heading

A string

 

 


 

Examples

 

Putting a heading on a databank can be useful:

 

x = 100;

hdg 'Bank for multiplier analysis, simulated 2010-2050';
write b1;
read b1;

 

When reading the b1.gbk databank, info like this is printed on the screen:

 

 Info     : Bank for multiplier analysis, simulated 2010-2050
 Date     : 26-10-2021 11:13:31

 

The heading will also be shown in the databank list (F2 button).

 

Databank files in .gbk format can contain meta-information like headings and date and time when written.

 

 


 

Related statements

 

CLOSE, OPEN, READ, WRITE