Autostart Last

Text Language Definition

Not Applicable

Description

The Autostart Last event occurs when all of the other Autostart routines in a project have finished. This can be helpful if the Autostart Last event references objects that need to be initialized and available for the final initialization step. There can only be one Autostart Last in a project. If the Autostart Last event is not shown that implies that some other package in the project is already using it. It is necessary for the other Autostart blocks to not have forever loops that prevent them from ever finishing. Use Begin Task to spawn an independent task if the task must continue running after startup.

Escapes

The Autostart Last block does not generate any escapes.

Examples

There is an Autostart block list which sets the counter variable to 0 and then waits 2 seconds. The Autostart Last block will not execute until the 2 seconds have expired. At that point it will change the value of counter to 1.

Related Topics

Setup
Autostart