Count ()
method
Returns variables' count in global storage
Syntax
public static int Count ()
Return
int
Example
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
public override void Init()
{
if(GlobalVariablesManager.Count()>0)
{
Print("Your session obtains "+GlobalVariablesManager.Count()+" global variables");
}
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.