AnsweredAssumed Answered

Can we use for loop or foreach commands after "OR" command in tvf?

Question asked by psandeep on Aug 5, 2019
Latest reply on Aug 18, 2019 by psandeep

Hi 

Can we use  for loop or foreach commands after "OR" command in tvf?

 

Example:

I want to implement below svrf command using tvf.

MYOBJ = OR M0_DRW M1_DRW M2_DRW M3_DRW

 

I have tried below tvf commands for the same. But it is not accepting.

tvf::SETLAYER MYOBJ = OR for {set i 0} {$i<=3} {incr i} { M{$i}_DRW }

tvf::SETLAYER MYOBJ = OR foreach {i} [list 0 1 2 3] { M{$i}_DRW }

 

Can we implement this scenario using the loops? 

 

Thanks and regards

Pulakanti Sandeep

Outcomes