Skip to main content
10 events
when toggle format what by license comment
S Feb 8, 2019 at 6:47 history mod moved comments to chat
S Feb 8, 2019 at 6:47 comment added wizzwizz4 Thirteen comments of being mean to each other‽ Come on, you're all better than that.
Feb 8, 2019 at 6:42 history edited Radovan Garabík CC BY-SA 4.0
typo
Feb 7, 2019 at 20:26 comment added John R. Strohm Both FORTRAN II and FORTRAN IV had intrinsics: in-line functions. Mixed-mode expressions were accepted by every FORTRAN IV compiler I ever used. (I learned FORTRAN II initially, but never used it. I used FORTRAN IV starting in 1970, on the CDC 6600 at UT Austin.) Programmers were warned that mixed-mode expressions could have interesting results.
Feb 7, 2019 at 1:14 comment added dave Further: per the manual linked by @FelixPalmen in his answer, the first 704 Fortran had intrinsics - although the term doesn't appear, they are built-in open subroutines, i.e,, intrinsics. The relevant ones here are ABSF and XINTF.
Feb 6, 2019 at 14:58 comment added Raffzahn @another-dave You're right. FORTRAN II did convert on expression assignemnts. I added that as a footnote.
Feb 6, 2019 at 0:15 comment added dave I agree with @FelixPalmen in that the posed question is not about type conversions, though type conversions are mentioned in the middle paragraph. However, with respect to whether Fortran had implied type conversion: Fortran II certainly did, across an assignment operator: both float = int expression and int = float expression were allowed. Exponentiation of a float to an integer power was also allowed. Generalized mixed-mode expressions were not allowed, however.
Feb 5, 2019 at 18:20 comment added Felix Palmen Again here, how does "which was the first programming language that had data types?" ask anything about type conversions?
Feb 5, 2019 at 17:06 comment added Raffzahn Except, that Fortran did no implied type conversion - at least not prior to the introduction of intrinsics inserted into assignment evaluations in FORTRAN 77. Way after ALGOL 60. (Intrinsics itself where introduced in Fortran 66).
Feb 5, 2019 at 13:56 history answered Radovan Garabík CC BY-SA 4.0