// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#include "econ.h"

main()
{
   ts a(10,2.0),b(10),c(10,"ex_ts.dat"),d;
   PRINT(a);
   PRINT(b);
   PRINT(c);
   PRINT(d);
   random(b,0.0,1.0);
   PRINT(b);
   PRINT(2*a+b*log(c));
   d = 2*a+b*log(c);
   PRINT(d);
   DESCRIP(d);
   cout << c(3) << "\n";
   c(3) = 6;
   cout << c(3) << "\n";
}
