Code For sending data from form to Class using container in MSDAX

Code For sending data from form to Class using container

 //Write this code on form  
 Container returnAbc()  
 {  
   Container  Abc;  
   int     conPos = 0;  
   ;  
   conPos ++;  
   Abc= conins(Abc,conPos,test.valueStr());  
   return Abc;  
 }  
 //Write this Code on class  
 main()  
 {  
   callerForm = _args.caller();  
   Abc= callerForm.returnFilter();  
 }  
 void initFilters(Container _Abc)  
 {  
   aAbc      = conpeek(_filtAbc,1);  
   }