Hello,
I am trying to figure out if the following code that creates frames in a loop (using input...end) triggers the 'Break' message because it is a bug or it is supposed not to work. It would be useful if it worked. Thanks in advance for comments.
clear
frames reset
mkf mytab
frame mytab {
input var1
1
end // this works OK
}
forval i=1/2 {
mkf mytab_`i'
frame mytab_`i' {
input var1
1
end // here is where the 'Break' message shows [r(1)]
}
}
I am trying to figure out if the following code that creates frames in a loop (using input...end) triggers the 'Break' message because it is a bug or it is supposed not to work. It would be useful if it worked. Thanks in advance for comments.
clear
frames reset
mkf mytab
frame mytab {
input var1
1
end // this works OK
}
forval i=1/2 {
mkf mytab_`i'
frame mytab_`i' {
input var1
1
end // here is where the 'Break' message shows [r(1)]
}
}
Comment