It sounds like the TCO module (make sure of its case!) is not properly installed. If you're on a system with something vaguely resembling security, wander over to your sysadmin and get him|her to (re)install TCO.
To check this, type
perl -V | more
at the command line; it will show the @INC...
Neglecting the rather obvious problem -- your array is sized at 50, but you don't check to make sure N doesn't exceed that -- and walking off the end of an array in Fortran is just as easy as doing so in C, and will have equally unpredictable results.
0: When you read N make sure its value...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.