ScriptEigener Objekttyp in der Automation Engine Function: Supplies the name of the previous restart point in the script.
Syntax
SYS_LAST_RESTART_POINT()
Return codes |
---|
Name of the restart point that has last been
run through |
Comments
Restart points can be specified by using the script element :RESTART.
Example
In this example, files from the AE directory are saved. The previous restart point is "BIN", which is written to the activation report.
:RESTART BIN, "Program directory"
COPY C:\AEG\BIN\*.* C:\BACKUP\AEG\BIN\*.* /Y
:INC DOS.ERRORLEVEL
:SET &RET# = SYS_LAST_RESTART_POINT()
:PRINT "Last
restart point: &RET#"
:RESTART DB,
"Database directory"
XCOPY C:\AEG\DB\*.* C:\BACKUP\AEG\DB\*.* /E /Y
:INC DOS.ERRORLEVEL
See also:
Script element | Description |
---|---|
This is used to set restart points in an executable object. |
|
Supplies the text of the previous restart point as defined in the script. |
Script Elements - Activation Data
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by function