Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
aggiuntala set(int) per i var


git-svn-id: svn://10.65.10.50/trunk@19533 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-10-28 10:29:49 +00:00
parent 092d797131
commit a78e13a285
2 changed files with 9 additions and 0 deletions

View File

@ -67,6 +67,14 @@ void TVariant::set(const long n)
_ptr = (void*)n;
}
void TVariant::set(const int i)
{
if (_type == _realfld || _type == _alfafld)
set_null();
_type = _longfld;
_ptr = (void*)i;
}
void TVariant::set(const bool b)
{
if (_type == _realfld || _type == _alfafld)

View File

@ -42,6 +42,7 @@ public:
void set(const char* str);
void set(const real& r);
void set(const long n);
void set(const int i);
void set(const TDate& d);
void set(const bool b);