Saves all serializable variables to disk


SYNTAX

public static void Flush ()



RETURN

void



EXAMPLE

using System;
using System.Text;
using PTLRuntime.NETScript;

namespace GlobalVariablesManager
{
     public class GlobalVariablesManager : NETIndicator
     {
         Connection myConnection = Connection.CurrentConnection;
         public override void OnQuote()
         {             
              if(myConnection.Status==Disconnected)
                 GlobalVariablesManager.Flush();
         }
     }
}