Example: lr.get_attrib_double
The following example retrieves the time as a double precision expression, checks its validity, and sends it to the output.
double time=lr.get_attrib_double("time");
if(time==-1)
lr.output_message("Fail to get the time from the command line");
else
lr.output_message("Time = " + time);