Previous: , Up: The Mechanics of Evaluation: Snapshots vs. Live Streams   [Contents]


2.3.7.3 The Boot-Time Paradox

A quick "gotcha" for the pros:

VAR startup_hour = EVAL(time:hour);

You might intend to capture the exact hour the system starts. However, at the microsecond of boot-up, the ST:Time service might still be authenticating on the network. If the input doesn’t exist yet, EVAL can’t do its job. Don’t worry—STARTER handles this gracefully by performing the evaluation as soon as the required service makes its first appearance on the grid.