ratfor.1

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 68 行

1
68
字号
.\" 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 + =
减小字号Ctrl + -
显示快捷键?