In a .do file, I would like to display the value of some variables
for certain subjects (those with an error) using label value rather
than initial coding.
I succeed with the following code that applies for the the subject #6
and the variable is1 (that have the label value outp).
Is there a more simple way to do this (I mean with less local macro l and ll) ?
local l : label outp `ll'
display as err "pregnancy outcome " `i' " : " "`l'" " c_ident = " `nn'