If I write
it runs just fine. But as soon as there's an if block...
all hell breaks loose, as conveyed by two expressive messages for the same error:
and ... wait for it ...
I applaud the developers for going to the trouble of documenting this outcome in two different ways, but would prefer something a little more informative.
Anyway, is there a way to use matuse inside an if block? The documentation suggests that I switch from matuse/matsave to fopen/fclose when inside a program. However, this is not a program... and I am not a computer scientist or package builder.
My last post in this other thread is related: http://www.statalist.org/forums/foru...00#post1054000
Code:
mata mata drop G0* mata matuse "$indir/G0.mmat" end
Code:
mata if (1){ mata drop G0* mata matuse "$indir/G0.mmat" } ; end
invalid expression
r(3000);
r(3000);
expression invalid
r(3000);
r(3000);
Anyway, is there a way to use matuse inside an if block? The documentation suggests that I switch from matuse/matsave to fopen/fclose when inside a program. However, this is not a program... and I am not a computer scientist or package builder.
My last post in this other thread is related: http://www.statalist.org/forums/foru...00#post1054000
Comment