JCL Help:IJclSchedule.InitToSavedState

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Initializes the schedule to a specific (saved) state.


Pascal

 procedure InitToSavedState(const LastTriggerStamp: TTimeStamp; const LastTriggerCount: Cardinal; const LastDayCount: Cardinal);


Parameters

Parameters Description
const LastTriggerStamp: TTimeStamp The value for LastTriggered.
const LastTriggerCount: Cardinal The value for TriggerCount.
const LastDayCount: Cardinal The value for DayCount.


Description

InitToSavedState initializes the schedule to a specific (saved) state. To save the state you should retrieve the value of LastTriggered, TriggerCount and DayCount and store them somewhere (ie. in the registry or a INI-file).
For restoring you can then retrieve the saved values and feed them to this method to have the schedule continue where it left of.


See Also

DayCount LastTriggered Reset TriggerCount


About

Donator

Marcel Bestebroer


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page