📄 f2c.ps
字号:
10 R f(variables may not)2 734 1 4306 4862 t(appear in)1 392 1 791 4982 t10 CW f(equivalence)1232 4982 w10 R f(,)1892 4982 w10 CW f(data)1967 4982 w10 R f(,)2207 4982 w10 CW f(namelist)2282 4982 w10 R f(, or)1 158 1 2762 4982 t10 CW f(save)2970 4982 w10 R f( command-line option)2 933(statements. The)1 677 2 3260 4982 t10 CW f(-a)4920 4982 w10 R f(changes the default storage class from)5 1526 1 791 5102 t10 CW f(static)2342 5102 w10 R f(to)2727 5102 w10 CW f(automatic)2830 5102 w10 R f(\(for all variables except those that appear)6 1645 1 3395 5102 t(in)791 5222 w10 CW f(common)894 5222 w10 R f(,)1254 5222 w10 CW f(data)1304 5222 w10 R f(,)1544 5222 w10 CW f(equivalence)1594 5222 w10 R f(,)2254 5222 w10 CW f(namelist)2304 5222 w10 R f(, or)1 133 1 2784 5222 t10 CW f(save)2942 5222 w10 R f(statements\).)3207 5222 w10 S f(\267)720 5402 w10 R f( free-format line, which may extend beyond)6 1784(A tab in the \256rst 6 columns signi\256es that the current line is a)13 2465 2 791 5402 t( ampersand)1 459( An)1 174(column 72.)1 452 3 791 5522 t10 CW f(&)1903 5522 w10 R f(in column 1 indicates that the current line is a free-format continuation line.)12 3050 1 1990 5522 t( have neither an ampersand in column 1 nor a tab in the \256rst 6 columns are treated as Fortran 77)20 3852(Lines that)1 397 2 791 5642 t( with blanks until they are 72)6 1166( shorter than 72 characters, they are padded on the right)10 2229( if)1 112(\256xed-format lines:)1 742 4 791 5762 t( taking)1 277( After)1 262(characters long; if longer than 72 characters, the characters beyond column 72 are discarded.)13 3710 3 791 5882 t( this is the only constraint on)6 1204(continuations into account, statements may be up to 1320 characters long;)10 3045 2 791 6002 t( the Fortran 77 standard, which allows at most 19)9 1994( limit is implied by)4 767( \(This)1 262(the length of free-format lines.)4 1226 4 791 6122 t(continuation lines; 1320)2 967 1 791 6242 t10 S f(=)1807 6242 w10 R f(\( 1)1 91 1 1911 6242 t10 S f(+)2042 6242 w10 R f(19 \))1 141 1 2137 6242 t10 S f(\264)2327 6242 w10 R f(66.\))2423 6242 w10 S f(\267)720 6422 w10 R f(Aside from quoted strings,)3 1066 1 791 6422 t10 I f(f 2c)1 138 1 1882 6422 t10 R f(ignores case \(unless the)3 945 1 2045 6422 t10 CW f(-U)3015 6422 w10 R f(option is in effect\).)3 760 1 3160 6422 t10 S f(\267)720 6602 w10 R f(The statement)1 563 1 791 6602 t9 CW f(include 'stuff')1 810 1 1008 6772 t10 R f( the \256le)2 302(is replaced by the contents of)5 1167 2 791 6962 t10 CW f(stuff. Include)1 831 1 2286 6962 t10 R f(s may be nested to a reasonable depth, currently)8 1923 1 3117 6962 t( command-line option)2 911(ten. The)1 366 2 791 7082 t10 CW f(-!I)2107 7082 w10 R f(disables)2326 7082 w10 CW f(include)2687 7082 w10 R f( used by the)3 519(s; this option is)3 652 2 3107 7082 t10 I f( 2c)1 110(netlib f)1 294 2 4316 7082 t10 R f(service)4758 7082 w(described in \2478 \(for which)4 1053 1 791 7202 t10 CW f(include)1869 7202 w10 R f(obviously makes no sense\).)3 1099 1 2314 7202 t10 R f(October 8, 1991)2 646 1 2544 7560 tcleartomarkshowpagesaveobj restore%%EndPage: 4 5%%Page: 5 6/saveobj save defmark6 pagesetup10 R f(- 5 -)2 166 1 2797 480 t10 S f(\267)720 900 w10 I f(F)791 900 w10 R f(77 allows binary, octal, and hexadecimal constants to appear in)9 2598 1 860 900 t10 CW f(data)3491 900 w10 R f(statements;)3764 900 w10 I f(f 2c)1 138 1 4247 900 t10 R f(goes somewhat)1 622 1 4418 900 t( a decimal integer constant)4 1090(further, allowing such constants to appear anywhere; they are treated just like)11 3159 2 791 1020 t( hexadecimal constants may assume one of two forms: a)9 2321( octal, and)2 427( Binary,)1 354(having the equivalent value.)3 1147 4 791 1140 t( quoted string of digits, or a decimal base, followed by a sharp sign)13 2748(letter followed by a)3 797 2 791 1260 t10 CW f(#)4366 1260 w10 R f(, followed by a)3 614 1 4426 1260 t( letter is)2 324( The)1 206(string of digits \(not quoted\).)4 1129 3 791 1380 t10 CW f(b)2476 1380 w10 R f(or)2562 1380 w10 CW f(B)2671 1380 w10 R f(for binary constants,)2 820 1 2757 1380 t10 CW f(o)3603 1380 w10 R f(or)3689 1380 w10 CW f(O)3798 1380 w10 R f(for octal constants, and)3 932 1 3884 1380 t10 CW f(x)4843 1380 w10 R f(,)4903 1380 w10 CW f(X)4955 1380 w10 R f(,)5015 1380 w10 CW f(z)791 1500 w10 R f(, or)1 185 1 851 1500 t10 CW f(Z)1113 1500 w10 R f( for example,)2 631( Thus,)1 326(for hexadecimal constants.)2 1169 3 1250 1500 t10 CW f(z'a7')3452 1500 w10 R f(,)3752 1500 w10 CW f(16#a7)3853 1500 w10 R f(,)4153 1500 w10 CW f(o'247')4254 1500 w10 R f(,)4614 1500 w10 CW f(8#247)4715 1500 w10 R f(,)5015 1500 w10 CW f(b'10100111')791 1620 w10 R f(and)1476 1620 w10 CW f(2#10100111)1645 1620 w10 R f(are all treated just like the integer)6 1336 1 2270 1620 t10 CW f(167)3631 1620 w10 R f(.)3811 1620 w10 S f(\267)720 1800 w10 R f(For compatibility with C, quoted strings may contain the following escapes:)10 3041 1 791 1800 t10 S f(_ __________________________________________)1 2129 1 1851 1890 t10 CW f(\\0)1901 2010 w10 R f(null)2171 2010 w10 CW f(\\n)3029 2010 w10 R f(newline)3323 2010 w10 CW f(\\\\)1901 2130 w10 R f(\\)2171 2130 w10 CW f(\\r)3029 2130 w10 R f(carriage return)1 583 1 3323 2130 t10 CW f(\\b)1901 2250 w10 R f(backspace)2171 2250 w10 CW f(\\t)3029 2250 w10 R f(tab)3323 2250 w10 CW f(\\f)1901 2370 w10 R f(form feed)1 390 1 2171 2370 t10 CW f(\\v)3029 2370 w10 R f(vertical tab)1 446 1 3323 2370 t10 CW f(\\')1972 2550 w10 R f(apostrophe \(does not terminate a string\))5 1589 1 2171 2550 t10 CW f(\\")1972 2670 w10 R f(quotation mark \(does not terminate a string\))6 1759 1 2171 2670 t10 CW f(\\)1972 2790 w10 I f(x x)1 183 1 2032 2790 t10 R f(, where)1 293 1 2215 2790 t10 I f(x)2533 2790 w10 R f(is any other character)3 855 1 2602 2790 t10 S f( \347)1 -2129(_ __________________________________________)1 2129 2 1851 2810 t(\347)1851 2790 w(\347)1851 2690 w(\347)1851 2590 w(\347)1851 2490 w(\347)1851 2390 w(\347)1851 2290 w(\347)1851 2190 w(\347)1851 2090 w(\347)1851 1990 w(\347)3980 2810 w(\347)3980 2790 w(\347)3980 2690 w(\347)3980 2590 w(\347)3980 2490 w(\347)3980 2390 w(\347)3980 2290 w(\347)3980 2190 w(\347)3980 2090 w(\347)3980 1990 w10 R f(The)791 3000 w10 CW f(-!bs)971 3000 w10 R f(option tells)1 448 1 1236 3000 t10 I f(f 2c)1 138 1 1709 3000 t10 R f( dou-)1 209( strings may be delimited either by)6 1388( Quoted)1 344(not to recognize these escapes.)4 1227 4 1872 3000 t(ble quotes \()2 482 1 791 3120 t10 CW f(")1298 3120 w10 R f(\) or by single quotes \()5 914 1 1383 3120 t10 S f(\242)2322 3120 w10 R f(\); if a string starts with one kind of quote, the other kind may be)14 2668 1 2372 3120 t( possible, trans-)2 648( Where)1 324( escape.)1 324(embedded in the string without being repeated or quoted by a backslash)11 2953 4 791 3240 t(lated strings are null-terminated.)3 1298 1 791 3360 t10 S f(\267)720 3540 w10 R f(Hollerith strings are treated as character strings.)6 1909 1 791 3540 t10 S f(\267)720 3720 w10 R f(In)791 3720 w10 CW f(equivalence)908 3720 w10 R f( given a single subscript, in which)6 1423(statements, a multiply-dimensioned array may be)5 2015 2 1602 3720 t( subscripts are taken to be 1 \(for backward compatibility with Fortran 66\) and a warning)15 3584(case the missing)2 665 2 791 3840 t(message is issued.)2 730 1 791 3960 t10 S f(\267)720 4140 w10 R f( library \()2 355(In a formatted read of non-character variables, the I/O)8 2172 2 791 4140 t10 I f(libI77)3318 4140 w10 R f(\) allows a \256eld to be terminated by a)8 1483 1 3557 4140 t(comma.)791 4260 w10 S f(\267)720 4440 w10 R f(Type)791 4440 w10 CW f(real*4)1029 4440 w10 R f(is equivalent to)2 627 1 1422 4440 t10 CW f(real)2082 4440 w10 R f(,)2322 4440 w10 CW f(integer*4)2380 4440 w10 R f(to)2953 4440 w10 CW f(integer)3064 4440 w10 R f(,)3484 4440 w10 CW f(real*8)3542 4440 w10 R f(to)3935 4440 w10 CW f(double precision)1 969 1 4046 4440 t10 R f(,)5015 4440 w10 CW f(complex*8)791 4560 w10 R f(to)1356 4560 w10 CW f(complex)1459 4560 w10 R f(, and, as stated before,)4 889 1 1879 4560 t10 CW f(complex*16)2793 4560 w10 R f(to)3418 4560 w10 CW f(double complex)1 840 1 3521 4560 t10 R f(.)4361 4560 w10 S f(\267)720 4740 w10 R f(The type)1 372 1 791 4740 t10 CW f(integer*2)1208 4740 w10 R f(designates short integers \(translated to type)5 1828 1 1793 4740 t10 CW f(shortint)3666 4740 w10 R f( is)1 113(, which by default)3 781 2 4146 4740 t10 CW f(short int)1 562 1 791 4860 t10 R f( command-line)1 623( The)1 226( of storage.)2 488( integers are expected to occupy half a ``unit'')8 2020(\). Such)1 330 5 1353 4860 t(options)791 4980 w10 CW f(-I2)1120 4980 w10 R f(and)1334 4980 w10 CW f(-i2)1512 4980 w10 R f(turn type)1 367 1 1726 4980 t10 CW f(integer)2127 4980 w10 R f(into)2581 4980 w10 CW f(integer*2)2771 4980 w10 R f(; see the)2 345 1 3311 4980 t10 I f(man)3690 4980 w10 R f(page \(appendix B\) for more)4 1144 1 3896 4980 t(details.)791 5100 w10 S f(\267)720 5280 w10 R f(The binary intrinsic functions)3 1224 1 791 5280 t10 CW f(and)2053 5280 w10 R f(,)2233 5280 w10 CW f(or)2296 5280 w10 R f(,)2416 5280 w10 CW f(xor)2480 5280 w10 R f(,)2660 5280 w10 CW f(lshift)2724 5280 w10 R f(, and)1 208 1 3084 5280 t10 CW f(rshift)3331 5280 w10 R f(and the unary intrinsic function)4 1310 1 3730 5280 t10 CW f(not)791 5400 w10 R f(perform bitwise operations on)3 1234 1 1007 5400 t10 CW f(integer)2277 5400 w10 R f(or)2732 5400 w10 CW f(logical)2850 5400 w10 R f(operands. For)1 584 1 3305 5400 t10 CW f(lshift)3924 5400 w10 R f(and)4319 5400 w10 CW f(rshift)4498 5400 w10 R f(, the)1 182 1 4858 5400 t(second operand tells how many bits to shift the \256rst operand.)10 2434 1 791 5520 t10 S f(\267)720 5700 w10 I f(LibF77)791 5700 w10 R f(provides two functions for accessing command-line arguments:)6 2655 1 1131 5700 t10 CW f(iargc\(dummy\))3831 5700 w10 R f(returns the)1 444 1 4596 5700 t( ignores its argument\);)3 911(number of command-line arguments \(and)4 1674 2 791 5820 t10 CW f(getarg\(k,c\))3404 5820 w10 R f(sets the character string)3 948 1 4092 5820 t10 CW f(c)791 5940 w10 R f(to the)1 225 1 876 5940 t10 I f(k)1126 5940 w10 R f(th command-line argument \(or to blanks if)6 1698 1 1170 5940 t10 I f(k)2893 5940 w10 R f(is out of range\).)3 632 1 2962 5940 t10 S f(\267)720 6120 w10 R f(Variable,)791 6120 w10 CW f
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -