
The IBM 1130 Computing System, introduced in 1965, was IBM's least expensive computer at that time. IBM Synchronous Communication Adaptor (SCA)ĭesk-size: width 58.5 in, depth 29 in, height 44.125 in IBM 1627 Calcomp Plotter, IBM 2250, optional This takes the form ‘/’ and forces the next data output to be on a new line.įollowing symbols are used with the format descriptors − Sr.~$1,000 per month rental, equivalent to about $8,600 in 2021ġ6-bit, word addressed, 15-bit address space Slash descriptor – used to insert blank lines. This takes the form ‘nX’ where ‘n’ is the number of desired spaces. If the field width is not large enough to accommodate the character string then the field is filled with the first ‘w’ characters of the string. Character types are right justified in their fields. This takes the form ‘rAw’ where the meanings of r and w are given in the table below. Here also, the width field must satisfy the expressionw ≥ d + 7 If the field width is not large enough to accommodate the real number then the field is filled with asterisks. Real values are right justified in their fields. Scientific notation has the mantissa in the range 1.0 to 10.0 unlike the E descriptor which has the mantissa in the range 0.1 to 1.0. The ‘E’ descriptor described above differs slightly from the traditional well known ‘scientific notation’. This takes the form ‘rESw.d’ where the meanings of r, w and d are given in the table below.

This is used for real output (scientific notation). One for the sign of the mantissa, two for the zero, four for the mantissa and two for the exponent itself. Please note that, to print out a real number with three decimal places a field width of at least ten is needed. The ‘E’ descriptor statement takes the form ‘rEw.d’ where the meanings of r, w and d are given in the table below. This is used for real output in exponential notation.


This takes the form ‘rFw.d’ where the meanings of r, w and d are given in the table below. If the field width is not large enough to accommodate an integer then the field is filled with asterisks. Integer values are right justified in their fields. This takes the form ‘rIw.m’ where the meanings of r, w and m are given in the table below. The following table describes the descriptors − Descriptor It consists of a string, containing a list of edit descriptors in parentheses.Īn edit descriptor specifies the exact format, for example, width, digits after decimal point etc., in which characters and numbers are displayed. Variable-list is a list of the variables to be read from keyboard or written on screenįormat specification defines the way in which formatted data is displayed. Formatted Input Outputįormatted input output has the syntax as follows − However the formatted I/O gives you more flexibility over data transfer.
Simply fortran write to console free#
The free format simple I/O has the form −

This form of input-output is free format I/O, and it is called list-directed input-output. We have so far seen that we can read data from keyboard using the read * statement, and display output to the screen using the print* statement, respectively.
