Esempio n. 1
0
 public bool Set(uint index, object value)
 {
     if (IsArray)
     {
         return(PPBVarArray.Set(ppvar, index, new Var(value)) == PPBool.True);
     }
     return(false);
 }
Esempio n. 2
0
 public bool Set(uint index, Var value)
 {
     if (IsArray)
     {
         return(PPBVarArray.Set(ppvar, index, value) == PPBool.True);
     }
     return(false);
 }
Esempio n. 3
0
 public Var Get(uint index)
 {
     if (IsArray)
     {
         return(PPBVarArray.Get(ppvar, index));
     }
     return(Var.Empty);
 }
Esempio n. 4
0
 public VarArray() : base(PPVarType.Null)
 {
     ppvar = PPBVarArray.Create();
 }