Navigation: Scripting Reference Manual > Functions & Subroutines > AddPreUpdateScript

 

AddPreUpdateScript

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a pre-update script to the associated FRED document.

 

Syntax

AddPreUpdateScript script

 

Parameters

script As String

The code of the script to be added.

 

Remarks

AddPreUpdateScript adds a pre-update script to the associated FRED document. If there is a problem the subroutine sets no error and returns without modifying the document. If a pre-update script already exists, it adds the script to the end of the existing one.

 

See Also

AddPostUpdateScript

SetPostUpdateScriptActive

GetPostUpdateScriptActive

 

 

 

 

 

Copyright © Photon Engineering, LLC