{"id":1282,"date":"2013-05-10T04:15:09","date_gmt":"2013-05-09T18:15:09","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=1282"},"modified":"2019-01-09T06:38:04","modified_gmt":"2019-01-08T20:38:04","slug":"fortran-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/fortran-primer-tutorial\/","title":{"rendered":"Fortran Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/FORTRAN\/\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Fortran Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/FORTRAN\/Fortran_Primer-5of.jpg\" title=\"Fortran Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Fortran Primer Tutorial<\/p><\/div>\n<p><a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/FORTRAN\/'>Tutorial using Fortran<\/a> &#8230;<\/p>\n<p>Have you heard of <a target=_blank title='Fortran information at Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/Fortran'>Fortran<\/a>?<\/p>\n<p>It is one of a group of scientific programming languages originating in the days before C and Pascal (The Fortran Automatic Coding System for the IBM 704 (15 October 1956), the first Programmer&#8217;s Reference Manual for Fortran), but still used where numeric computation is paramount.<\/p>\n<blockquote><p>Fortran (previously FORTRAN) is a general-purpose, imperative programming language that is especially suited to numeric computation and scientific computing. Originally developed by IBM at their campus in south San Jose, California[1] in the 1950s for scientific and engineering applications, Fortran came to dominate this area of programming early on and has been in continual use for over half a century in computationally intensive areas such as numerical weather prediction, finite element analysis, computational fluid dynamics, computational physics and computational chemistry. It is one of the most popular languages in the area of high-performance computing [2] and is the language used for programs that benchmark and rank the world&#8217;s fastest supercomputers.<\/p>\n<p>Fortran (the name is a blend derived from The IBM Mathematical Formula Translating System) encompasses a lineage of versions, each of which evolved to add extensions to the language while usually retaining compatibility with previous versions. Successive versions have added support for structured programming and processing of character-based data (FORTRAN 77), array programming, modular programming and generic programming (Fortran 90), high performance Fortran (Fortran 95), object-oriented programming (Fortran 2003) and concurrent programming (Fortran 2008).<\/p><\/blockquote>\n<p>My early jobs in mapping, photogrammetry and surveying all had large components of Fortran with smaller amounts of BASIC.   Fortran is still relevant for such numerical processing work, but it is less widely supported perhaps.<\/p>\n<p>Before that my university studies used Fortran (FORTRAN back then) with <a target=_blank title='Punched Cards' href='http:\/\/en.wikipedia.org\/wiki\/Computer_programming_in_the_punched_card_era'>punched cards<\/a> &#8230; yes, I am THAT old &#8230; with all the inherent excitement of having one comma out of place and going back to the end of the queue to get back to the hopper.  So for me, there has been no other language lasting so long in personal productive use as Fortran, and am sure there are quite a few baby boomers nodding likewise &#8230; or they might be nodding because it is bedtime &#8230; who knows?<\/p>\n<p>Fortran, though, should not be cast with this &#8220;old&#8221; tag, because it has remained relevant, but it is just that &#8220;C and beyond&#8221; put it into the shade much more than its rivals Pascal and COBOL did, nor ALGOL 58, BASIC, PL\/I, PACT I, MUMPS and Ratfor which were all seen as early influencers of Fortran&#8217;s design.   It was a relief not having to use the GOTO statement so much, I must say.   Here is a good link discussing its place in the <a target=_blank title='Generic programming language link' href='http:\/\/dzone.com\/articles\/big-list-256-programming'>programming language spectrum<\/a>.<\/p>\n<p>Link to Fortran information at &#8230; <a target=_blank title='Fortran information' href='http:\/\/en.wikipedia.org\/wiki\/Fortran'>via Wikipedia<\/a> where the quote above originated.<br \/>\nLink to Fortran enthusiasts site <a target=_blank title='Fortran information' href='http:\/\/www.fortran.com'>here<\/a>.<br \/>\nDownload programming source code and rename to <a target=_blank title='Fortran code' href='http:\/\/www.rjmprogramming.com.au\/FORTRAN\/Triangle_Herons.ftn_GETME'>Triangle_Herons.ftn<\/a>.\n<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d1282' onclick='var dv=document.getElementById(\"d1282\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Fortran\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1282' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Tutorial using Fortran &#8230; Have you heard of Fortran? It is one of a group of scientific programming languages originating in the days before C and Pascal (The Fortran Automatic Coding System for the IBM 704 (15 October 1956), the &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/fortran-primer-tutorial\/\">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":[12,37],"tags":[456,997,1101,1319],"class_list":["post-1282","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-fortran","tag-programming","tag-scientific-programming","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1282"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=1282"}],"version-history":[{"count":2,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1282\/revisions"}],"predecessor-version":[{"id":42873,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1282\/revisions\/42873"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=1282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=1282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=1282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}