time

Directs a read statement to assume that the next request in the file contains only one component; that is, it’s time-like).

Syntax

read time

or

readln time

Comments

The time keyword functions similarly to the request keyword, except that when time is read, it is always assumed to contain only one component, no matter how many components are present in the other requests

Example

record
{
     read time  // get value for time step
     do numrequests
      {
            read request  // read requests other than time
      }
}