Name
property
Variable name
Syntax
public string Name { get; private set; }
Example
using System;
using System.Text;
using PTLRuntime.NETScript;
namespace GlobalVariablesManager
{
public class GlobalVariablesManager : NETIndicator
{
List<GlobalVariable> global_List=new List<GlobalVariable>();
public override void Init()
{
if(GlobalVariablesManager.Count()>0)
{
global_List=GlobalVariablesManager.GetGlobalVariablesList();
foreach (var el in global_List)
{
Print(el.Name);
Print(el.Value);
}
}
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.