forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 1754 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Tab separated fields
mecej4

Replies: 1
Views: 37

PostForum: General   Posted: Sat Jan 28, 2023 1:09 am   Subject:
One of the undesirable consequences of using fixed size strings is having to contend with a lot of padding.

Does the following code satisfy your needs?

program xyz
implicit none
integer ...
  Topic: Find current directory
mecej4

Replies: 11
Views: 210

PostForum: Support   Posted: Wed Jan 25, 2023 1:39 pm   Subject:
The scoping rules in Fortran are somewhat complicated, because new facilities (contained subprograms, modules) were added piecewise over decades, while insisting on keeping old programs unaffected by ...
  Topic: Find current directory
mecej4

Replies: 11
Views: 210

PostForum: Support   Posted: Wed Jan 25, 2023 12:27 am   Subject:
When an identifier appears in an expression with an argument list (with zero or more arguments), and the variable has not been declared to be an array, the identifier implicitly acquires the EXTERNAL ...
  Topic: GET_GSTORAGE@ doesn't always work?
mecej4

Replies: 52
Views: 1582

PostForum: Support   Posted: Fri Jan 13, 2023 12:52 pm   Subject:
That is strange, and may be related to the exact details of your copy-paste procedure. I used Firefox on Windows to copy, and pasted by redirection to a file in a command window, and did not find any ...
  Topic: Compiler rejects #include in col-1 of fixed form source file
mecej4

Replies: 2
Views: 180

PostForum: Support   Posted: Tue Jan 10, 2023 3:53 pm   Subject: Compiler rejects #include in col-1 of fixed form source file
Given a test program source file (fixed form) containing #include directives starting in column-1, FTN95 refuses to compile the file.

program fppbug
implicit none
#include "size. ...
  Topic: Failure to detect undefined variable in a common block
mecej4

Replies: 1
Views: 155

PostForum: 64-bit   Posted: Tue Jan 10, 2023 12:34 pm   Subject: Failure to detect undefined variable in a common block
In the following program, one of the variables in a COMMON block is used before it has been defined.

!
program buggy
implicit none
external blkd
integer i,j,k,l,m,n
...
  Topic: Fortran 2003 and 2008 features
mecej4

Replies: 141
Views: 49322

PostForum: Suggestions   Posted: Thu Jan 05, 2023 4:24 pm   Subject:
There is at least one more situation where a similar spurious warning is given -- parts of expressions wherein a variable name is required by the language rules but only the type of the variable matte ...
  Topic: Compiler does not flag error in assignment statement
mecej4

Replies: 5
Views: 412

PostForum: Support   Posted: Wed Jan 04, 2023 2:08 pm   Subject: Compiler does not flag error in assignment statement
In the following program, the first executable statement is in error because the right hand side expression is array valued, and the variable on the left is scalar.

Compiler versions 8.90 and 8.92 ...
  Topic: Compiler flags only one incorrectly declared variable
mecej4

Replies: 11
Views: 535

PostForum: Support   Posted: Tue Dec 27, 2022 9:20 am   Subject:
Thanks, Paul, perhaps a better solution would be to allow that hidden flag (now accessible only to the compiler developers) to be set by the user in FTN95.cfg or as a compiler command option. As Eddie ...
  Topic: Compiler flags only one incorrectly declared variable
mecej4

Replies: 11
Views: 535

PostForum: Support   Posted: Tue Dec 27, 2022 1:51 am   Subject:
Thanks for spotting the slip, Eddie. I have corrected the reproducer above.

The issue still stands. In the actual code (not the small reproducer that I posted), the common block contains hundreds o ...
  Topic: Compiler flags only one incorrectly declared variable
mecej4

Replies: 11
Views: 535

PostForum: Support   Posted: Sun Dec 25, 2022 6:17 pm   Subject: Compiler flags only one incorrectly declared variable
In the code shown below, there is an erroneous declaration for three variables that are already in scope through USE association. The compiler flags only one of the three variables in its error messag ...
  Topic: Strange effect of unused subroutines on results
mecej4

Replies: 3
Views: 529

PostForum: 64-bit   Posted: Fri Dec 02, 2022 6:44 pm   Subject:
Indeed, Robert, the equivalence statement makes itself felt, even though the two variables being equivalenced are both local variables in a subroutine that is not called.

Similarly, I observed that ...
  Topic: Strange effect of unused subroutines on results
mecej4

Replies: 3
Views: 529

PostForum: 64-bit   Posted: Fri Dec 02, 2022 5:59 pm   Subject: Strange effect of unused subroutines on results
I have a problem reproducer code that is about 220 lines long, of which about 70 lines are surrounded by #ifdef BIG ... #endif. These 70 lines contain two subroutines, neither of which is called from ...
  Topic: Puzzling and Spurious Aborts with Integer Overflow
mecej4

Replies: 9
Views: 824

PostForum: Support   Posted: Thu Nov 17, 2022 12:10 pm   Subject: Re:
...
Bounds checking is being applied to a 1D array that is passed as an argument but is treated as a 2D (star-sized) array in the subprogram.

The bounds checking mechanism can't cope with this com ...
  Topic: hypertext stopped working
mecej4

Replies: 15
Views: 2254

PostForum: ClearWin+   Posted: Sun Nov 13, 2022 2:25 pm   Subject:
On my Windows 11 system, a few days ago Windows updated itself and after that I could not open my old help files. Apparently, Microsoft is trying too hard do kill any "legacy" help support f ...
 
Page 1 of 117 Goto page 1, 2, 3 ... 115, 116, 117  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group