翻訳と辞書
Words near each other
・ Rathedaung
・ Rates Ecomuseum
・ Rates in Hong Kong
・ Rates in the United Kingdom
・ RateSetter
・ Ratevo
・ Ratey Chu
・ Rateče
・ Ratečevo Brdo
・ Ratež
・ Rate–distortion optimization
・ Rate–distortion theory
・ RATF
・ Ratfaces Home Videos Presents Useless ID
・ Ratfiv
Ratfor
・ Ratford
・ Ratfucking
・ Ratgar
・ Ratgoed Quarry
・ Rath
・ Rath (Odia surname)
・ Rath (surname)
・ Rath block
・ Rath City, Texas
・ Rath Eastlink Community Centre
・ Rath House
・ Rath Packing Company
・ Rath Packing Company Administration Building
・ Rath Sarem


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Ratfor : ウィキペディア英語版
Ratfor

Ratfor (short for ''Rational Fortran'') is a programming language implemented as a preprocessor for Fortran 66. It provided modern control structures, unavailable in Fortran 66, to replace GOTOs and statement numbers.
== Features ==

Ratfor provides the following kinds of flow-control statements, described by Kernighan and Plauger as "shamelessly stolen from the language C, developed for the UNIX operating system by D.M. Ritchie" ("Software Tools", p. 318):
* statement grouping with braces
* if-else, while, for, do, repeat-until, break, next
* "free-form" statements, i.e., not constrained by Fortran format rules
* <, >, >=, ... in place of .LT., .GT., .GE., ...
* include
* # comments
For example, the following code

if (a > b) else

might be translated as

IF(.NOT.(A.GT.B))GOTO 1
MAX = A
GOTO 2
1 CONTINUE
MAX = B
2 CONTINUE

The version of Ratfor in ''Software Tools'' is itself written in Ratfor, as are the sample programs, and inasmuch as its own translation to Fortran is available, it can be ported to any Fortran system. Ratfor source code file names end in .r or .rat.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Ratfor」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.