RemoveAll ()
method
Removes all variables from global storage
Syntax
public static void RemoveAll ()
Return
void
Example
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
public override void Init()
{
GlobalVariablesManager.RemoveAll();
if(GlobalVariablesManager.Count()==0)
{
Print("Your session does not have any global variables");
}
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.