|
<< Click to Display Table of Contents >> MEM |
![]() ![]()
|
Prints a list of all scalar variables (value, date, string). Before Gekko 3.x, such scalar variables were stored in memory (RAM), hence the name of the statement.
mem;
Consider this example:
%s1 = 'cat'; |
This will produce an overview similar to this:
Work databank: 5 scalar(s) found --------------------------------- type name value --------------------------------- date %d1 2010 date %d2 2011q3 string %s1 'cat' string %s2 'dog' val %v 123.45 --------------------------------- |
For scalars, you may use val?, date?, string?, to print out these individually.
Otherwise, you can also print scalars with the PRT statement.