Navigation: Scripting Reference Manual > Functions & Subroutines > SysNewOrReset

 

SysNewOrReset

 

Contact Us: fredsupport@photonengr.com

 

Description

Resets the named FRED document to its initial default state, or if the named document does not exist, it creates a new document with the given name.

 

Syntax

SysNewOrReset fname

 

Parameters

fname As String

Name of the file to empty or create.

 

Remarks

This subroutine resets the named FRED document to its initial default state, or if the named document does not exist, it creates a new document with the given name.  If there is a problem, the subroutine sets an error and returns without modifying or creating a document.

 

See Also

SysClose

SysCloseAll

SysCloseNoSave

SysIsOpen

SysNew

SysOpen

SysReset

SysSave

SysSaveTo

 

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC