*include ..\Include.src.bas\DeleteBinaryFiles.bas
// -- Restore from --
*If(GenData(Restart_of_Analysis,Int)==1)
*set var StepIndexRestore = GenData(Stored_Step_For_Restart,Int)
*If(StepIndexRestore<10) Then
*Intformat "%1i"
RESTORE FROM "*GenData(TaskName).000*StepIndexRestore"
JUMP TO LABEL "STEP_RESTORE_000*StepIndexRestore"
*ElseIf(StepIndexRestore<100) Then
*Intformat "%2i"
RESTORE FROM "*GenData(TaskName).00*StepIndexRestore"
JUMP TO LABEL "STEP_RESTORE_00*StepIndexRestore"
*ElseIf(StepIndexRestore<1000) Then
*Intformat "%3i"
RESTORE FROM "*GenData(TaskName).0*StepIndexRestore"
JUMP TO LABEL "STEP_RESTORE_0*StepIndexRestore"
*Else
*Intformat "%i"
RESTORE FROM "*GenData(TaskName).*StepIndexRestore"
JUMP TO LABEL "STEP_RESTORE_*StepIndexRestore"
*EndIf
*Else
// RESTORE FROM "*GenData(TaskName).0000"
// JUMP TO LABEL "STEP_RESTORE_0000"
*EndIf
// -- Restore from --