If I understand correctly, any line that starts with C in column 1 is automatically a comment. So why do some code samples I see start the comment text at column 7? Is this just to make all text line up a little nicer, or was it required by some compilers?
FORTRAN 77 comments starting at column 7
166 Views Asked by qwr At
1
There are 1 best solutions below
Related Questions in FORTRAN
- Writing code for River Section Coordinates in Fortran
- How to get size of array directly from Fortran to R?
- OpenMP multi-threading not working if OpenMPI set to use one or two MPI processor
- Problems with converting old Fortran code
- Why is my code crashing with "Illegal address during kernel execution" when I use subroutines to copy or deallocate members of derived type variables?
- Getting distances of points in 2D space in an array in Fortran using the concept of broadcasting (Python)
- Conflict between lexer rules in ANTLR4 for Fortran grammar
- how to automatically generate a Module from a project in Visual Studio
- I am encountering an f2py dimension error when passing numpy array to fortran
- Why is there an error with gfortran but ifort and pgf90 do not?
- Parallelize nested loop with running sum in Fortran
- Calling c++ from fortran
- Visual Studio Code Not Recognizing findent Installation for Modern Fortran Extension Despite Correct Python Interpreter and PATH Configuration
- Different floating point representations of identical 64 bit double precision numbers
- How to define a Function in Fortran
Related Questions in COMMENTS
- Why does Angular ^17 have problems with my modules, services, etc
- How to highlight comments in several different colors in CLion?
- Delimited comment in C#
- How can a Google Sheet Commenter receive all Notifications from all user's comments?
- How to optimize and implement infinite comments through prefetch with django orm?
- automatic commenting for users on the home page of Twitter
- Forcing "server" comments on Visual Studio
- How to convert a Ruby Hash to YAML and keeping comments?
- Wordpress Comments with ACF plugin - How do i show the info on the comments area?
- Disable strike trough comment
- How to remove licence comment in JS for development with Vite?
- What does 'has a SUC' mean?
- What is this decorator looking comment in javascript
- Can we add image in code comments in VS code
- Descriptive auto-complete comments for python in Visual Studio Code
Related Questions in FORTRAN77
- Standard conforming way to get command line arguments in FORTRAN77
- Compile legacy fortran77 code as python module using f2py
- Can an f77 subroutine be called from C?
- How to rewrite code with SAVE and ENTRY statements for OpenMP usage?
- ASC2EPH ASCII to Binary conversion
- 'Random' "Program received signal SIGABRT: Process abort signal." Error
- FORTRAN 77 comments starting at column 7
- Segmentation fault due to memory access issue
- f2py compiling f77 program with exposed variables
- Resolving Fortran compilation error for `call itime(now)`, `error #6404: This name does not have a type, and must have an explicit types`
- Fortran 77 compilation for IRI 2016 model
- How to deal with the intrinsic funtion when using f2py module?
- Fortran Help, open statement error any idea?
- Is it necessary to place an ampersand on the 73rd column for line continuations in Fortran 77?
- How to write long string variables in Fortran 77
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Where the text of the comments start is completely irrelevant to the compiler, the compiler just ignores the line or the punch card.
It is just up to the programmer to format the comments based on the reasons that made him/her to create such comment. Often, programmers will want the comments to be somehow aligned, but it is not necessary.
For example, if a line of code that contained a numeric label is commented out, it will often start earlier than column 7.