{"id":2665,"date":"2019-03-21T14:23:09","date_gmt":"2019-03-21T19:23:09","guid":{"rendered":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=2665"},"modified":"2019-12-12T10:42:26","modified_gmt":"2019-12-12T15:42:26","slug":"learning-fortran","status":"publish","type":"post","link":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=2665","title":{"rendered":"Learning Fortran"},"content":{"rendered":"<p>Lately I have been learning the old programming language, Fortran. I don&#8217;t particularly like Fortran or plan to use it, but I have run out of things to learn about C++, Java, Python, or C#. So far I have learned how to work with numbers, loops, and arrays. Today I have learned how to work with strings. Formatting numeric output in Fortran is a little tricky so I will have to create a separate topic in my notes for that. I am running Fortran using GNU Fortran or GFortran which is part of my Cygwin installation.<\/p>\n<p>I was using Visual Studio Code as my code editor but it does not integrate well with a Fortran compiler. I have discovered that the NetBeans IDE works a lot better. NetBeans will run my code by creating the necessary make file automatically. I had to create my own Fortran syntax highlighting file, <strong>shBrushFortran.js<\/strong>, to use with SyntaxHighlighter 3.0.83, the old JavaScript library developed by Alex Gorbatchev. This gives me Fortran syntax highlighting in my HTML notes.<\/p>\n<p>The only mildly useful thing I have learned so far is that Fortran supports complex numbers. I have been working with complex numbers to reproduce some geometric designs which are based on the complex plane. I have been improving my math skills and learning Fortran may help with that since this programming language is mainly used for science.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lately I have been learning the old programming language, Fortran. I don&#8217;t particularly like Fortran or plan to use it, but I have run out of things to learn about C++, Java, Python, or C#. So far I have learned &hellip; <a href=\"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=2665\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,12],"tags":[1728,1729,1727,443,1029],"_links":{"self":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2665"}],"collection":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2665"}],"version-history":[{"count":2,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2665\/revisions"}],"predecessor-version":[{"id":3541,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/2665\/revisions\/3541"}],"wp:attachment":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2665"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}