I may be in a small minority that use semicolons in Mata, and perhaps nobody else has found this before. If I use semicolons in a struct definition, like this:
then I will get an error:
It took me a while to work out the cause. I reluctantly guess this is a bug... but maybe others know of a reason? The Mata Book doesn't use semicolons so it isn't mentioned.
Code:
struct Treenode {
real matrix orders;
real matrix ordered;
real matrix sorted_data;
}
Code:
type declaration required (48 lines skipped) -------------------------------------------------------------------------------------------- r(3000);
