Flush ()
method
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();
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.