I want to display and use a component of an equation in my ml program, but I couldn't find the right syntax that would call it. lnsigu2 is modeled with a constant and x1, but all of the last three lines below display the same number. For example, display `lnsigu2:_cons' doesn't work to display lnsigu2 equation's constant's parameter during the maximization process. display _b[lnsigu2:_cons] doesn't work during the maximization. So what is the right syntax to display the constant in the lnsigu2 equation throughout the maximization process?
Code:
program mlprog
args todo b lnf
tempvar xb lnsigu2 lnsigw2
mleval `xb' = `b', eq(1)
mleval `lnsigu2' = `b', eq(2)
mleval `lnsigw2' = `b', eq(3)
.....
display `lnsigu2'
display `lnsigu2:_cons'
display `lnsigu2:x1'
.....
end

Comment