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:
		
							parent
							
								
									092d797131
								
							
						
					
					
						commit
						a78e13a285
					
				@ -67,6 +67,14 @@ void TVariant::set(const long n)
 | 
				
			|||||||
  _ptr = (void*)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)
 | 
					void TVariant::set(const bool b)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  if (_type == _realfld || _type == _alfafld)
 | 
					  if (_type == _realfld || _type == _alfafld)
 | 
				
			||||||
 | 
				
			|||||||
@ -42,6 +42,7 @@ public:
 | 
				
			|||||||
  void set(const char* str);
 | 
					  void set(const char* str);
 | 
				
			||||||
  void set(const real& r);
 | 
					  void set(const real& r);
 | 
				
			||||||
  void set(const long n);
 | 
					  void set(const long n);
 | 
				
			||||||
 | 
					  void set(const int i);
 | 
				
			||||||
  void set(const TDate& d);
 | 
					  void set(const TDate& d);
 | 
				
			||||||
  void set(const bool b);
 | 
					  void set(const bool b);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user