View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old October 6th, 2020, 07:26 AM
I'd do:

Code:
@value += field[trtFinal].value

if (islinkage[attribute] <> 0) then
   @value += linkage[attribute].field[trtFinal].value
    endif

That way, you don't need to do two steps (leaving out the linkage and setting the tag) to mean the same thing in two different places.
Mathias is offline   #5 Reply With Quote