Macro command SaveNetwork

<< Click to Display Table of Contents >>

Navigation:  Macros > Macro commands and parameters > Macro network commands >

Macro command SaveNetwork

Purpose:

To save the network on the hard disk for subsequent analyse outside the macro.

 

General notation:

SaveNetwork ( Filename )

 

Filename is a value. The name of a file may be given between single inverted commas, or in the form of a variable.

 

Examples:

Save the network using the name MyNetworkfile.vnf in directory D:\MyDir\:

 SaveNetwork'D:\MyDir\MyNetworkfile.vnf' )

 

Save the network using the generated name 'Result5':

 Set( networkfilename, 'D:\MyDir\Result' )

 Set( networkcount, 5 )

 Add( networkfilename, networkcount )

 Add( networkfilename, '.vnf' )

 SaveNetwork( networkfilename )

 

See also:

StoreNetwork

RestoreNetwork

 

Back to network commands.