示例#1
0
//---------------------------------------------------------------------------
double __fastcall TVariableKit::Get(String Name)
{
TVariable* Var = VarByName(Name);
return (Var->CanGet() ? Var->Get() : -1);
}
示例#2
0
//---------------------------------------------------------------------------
bool __fastcall TVariableKit::CanGet(String Name)
{
TVariable* Var = VarByName(Name);
return Var != NULL ? Var->CanGet() : false;
}