hughabbott
                (Hugh Abbott)
              
                
              
                  
                  
              1
              
             
            
              In the Assign activity the right hand box can contain a VB Expression.
I am trying to put an if statement in there … keeps on giving me an error.
It should be possible yes ?    It is fundamental VB functionality … has anyone succeeded ?
Would love to know if it is possible.
Hugh
             
            
              
              
              8 Likes
            
                
            
           
          
            
              
                badita
                (Mihai Badita)
              
              
                  
                  
              2
              
             
            
              See attached a=if(n1>n2, "a","b")
If.xaml (4.8 KB)
             
            
              
              
              14 Likes
            
                
            
           
          
            
              
                hughabbott
                (Hugh Abbott)
              
              
                  
                  
              3
              
             
            
              thanks Mihai -  that’s very useful
             
            
              
              
              1 Like
            
            
           
          
            
            
              is it possible to write for loop in assign?