📄 ratfor.1
字号:
.\" SCCSID: @(#)ratfor.1 8.1 9/11/90.TH ratfor 1 VAX "" Unsupported.SH Nameratfor \- rational FORTRAN dialect.SH Syntax.B ratfor[ \fIoption\fP ... ][ \fIfilename\fP ... ].SH DescriptionThe .PN ratforcommand converts a rational dialect of FORTRAN into ordinary irrational FORTRAN..PN ratforprovides control flow constructs essentially identical to those in C:.TPstatement grouping:.nf{ statement; statement; statement }.TPdecision-making:if (condition) statement [ else statement ].brswitch (integer value) { case integer: statement ... [ default: ] statement}.TPloops:while (condition) statementfor (expression; condition; expression) statementdo limits statementrepeat statement [ until (condition) ]breaknext.LPand some syntactic sugar to make programs easier to read and write:.TPfree form input:multiple statements/line; automatic continuation.TPcomments:# this is a comment.TPtranslation of relationals:>, >=, etc., become .GT., .GE., etc..TPreturn (expression)returns expression to caller from function.TPdefine:define name replacement.TPinclude:include filename.PP.fi.PN ratforis best used with.MS f77 1 ..SH See Alsof77(1).brB. W. Kernighan and P. J. Plauger,.IR "Software Tools" ,Addison-Wesley, 1976.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -