Beliavsky

Results 232 issues of Beliavsky

I suggest adding the topics `language-server-protocol`, `fortran` in the About section.

If you would like to add Fortran constants, or what is called a PARAMETER in Fortran, sample syntax for the basic types is ``` integer, parameter :: two = 2...

As suggested by Shore Salle https://twitter.com/ShoreSalle/status/1528400641424506884.

Given integer variables i and j write `real(i,wp)/j` or `i/real(j,wp)` or `real(i,wp)/real(j,wp) ` where `wp` is the KIND argument to get a `real(kind=wp)` quotient, unless you want the truncating integer...

The lower bounds of an assumed shape dummy argument are 1 or the lower bounds specified in the procedure declaration, regardless of the lower bounds of actual argument in the...

In ASCII and Unicode the character with the value 7 is BEL, so `print*,char(7)` will cause the program to beep, which can be used to signal completion.

`gfortran -c -fdump-fortran-original -fdump-tree-original a.f90` prints the internal representation of the Fortran abstract syntax tree to standard output and writes a C-like representation that is passed to the middle end.

Fortran 2018 has assumed rank arguments, denoted x(..), that can be a scalar or an array of arbitrary rank. Within the procedure the SELECT RANK construct and RANK intrinsic is...

Fortran 2018 allows assumed type arguments that have no declared type, with syntax `type(*)`. Such arguments can only be used in a small number of intrinsic functions, including SHAPE, SIZE,...

A vector subscript can have repeated elements, creating a many-one section, for example `x([1,2,1])` Such a section must not appear on the left hand side of an assignment, because of...