I've done it in the past -- although more commonly
in my case ancient Fortran code became Basic on some primitive
PC, which in turn became Stata. But I am not sure
what advice you want. One-dimensional arrays
usually become variables, DO loops become
-forval-, etc. Not all translations are obvious:
sometimes two-dimensional arrays become Stata
matrices; sometimes rethinking to a different
data structure is a better idea.
Nick
[email protected]
[email protected]
> I was wondering whether anyone had experience translating Fortran code
> (*.FOR) into Stata *.ado or *.do files. I would appreciate very much a
> chance to see an example of that.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/