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 17 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: variable formatting error
offthechart

Replies: 6
Views: 230

PostForum: General   Posted: Fri Nov 20, 2020 11:01 pm   Subject: Re:
I liked this extension at the times of DEC Fortran and always wanted it to be included into this compiler

It would be useful for sure. Thanks
offthechart
  Topic: variable formatting error
offthechart

Replies: 6
Views: 230

PostForum: General   Posted: Fri Nov 20, 2020 10:59 pm   Subject: Re:
The code snippet uses a nonstandard Fortran extension called "Variable Format Expression" or "VFE". See PROGRAM VFE
IMPLICIT NONE
INTEGER I
CHARACTER(4) :&# ...
  Topic: variable formatting error
offthechart

Replies: 6
Views: 230

PostForum: General   Posted: Fri Nov 20, 2020 10:56 pm   Subject: Re:
Given the error message, it is unlikely to be supported.

What version of FORTRAN did you copy the code from? What is this formatting syntax intended to do?

There are usually ways around, or thro ...
  Topic: variable formatting error
offthechart

Replies: 6
Views: 230

PostForum: General   Posted: Thu Nov 19, 2020 11:39 pm   Subject: variable formatting error
I entered this simple code I copied from a Fortran manual and tried compiling, since I have use for this type of formatting tool.

DIMENSION A(5)
DATA A/1.,2.,3.,4.,5./
DO 10 I= ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Thu Jun 25, 2020 9:28 pm   Subject:
I did that. With an induced error I got in the command window:

*** unpaired right brackets
1 error [ <main program> ftn95/win32 v7.00.0]
*** compilation failed

As usual, nothing more ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Thu Jun 25, 2020 5:47 pm   Subject: Errors etc.
Hello JohnC. First I appreciate your knowledgable technical concern (and curiousity). Thinking upon the problem last night, there is a possible variable that affects the default error message 'probl ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Wed Jun 24, 2020 4:01 pm   Subject:
OK gang, here goes for the last time. For whatever &^$^* reason, /ftn95 filename.f in my command window does not show error line numbers. I am not an unobservant idiot. As a previous long time ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Tue Jun 23, 2020 6:47 pm   Subject:
Yes John Silver. I removed both options you noted and the compile error line number did show up in the Command window. The only option in my .cfg file was reduced to /BRIEF However without /BRIE ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Tue Jun 23, 2020 4:25 pm   Subject:
John C. I intentionally created the errors to check compiling! I realize there should not be .. in the do statement. /brief cures the problem. Without it, the command window does not give line nu ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Mon Jun 22, 2020 10:48 pm   Subject:
OK Mr. C and mecej4, here is some info.
First I created ftn95.cfg (I have never had one created) with options;
/BRIEF
/ERRORLOG
/LIST

Then compiling on the Command line I get a file created o ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Sun Jun 21, 2020 10:08 pm   Subject:
Well I found that by typing ftn95 filename.f/brief on the command line, the compiler listed the line number before describing the 'unterminated character constant" error. Hopefully this is ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Sun Jun 21, 2020 7:34 pm   Subject:
Yes, mecej4 I have been successfully compiling and running many programs on version 7.00 for years. I use ftn95 and slink on the command line . I do not recall setting any environment. When I open ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Sun Jun 21, 2020 3:18 pm   Subject:
I don't have version 8.6. I have version 7.0. Maybe that is the difference, but line numbers do no appear anywhere in the compile error, unlike what you just showed. Thanks but my command line has ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Sat Jun 20, 2020 10:09 pm   Subject: error message
OK. I intentionally created this error:

write(6,"(' Enter the 1" aluminum disk radius (in): ',$)")
The xtra " is an error. Here is what I got:

***"Unterminated ...
  Topic: error messaging
offthechart

Replies: 27
Views: 2758

PostForum: General   Posted: Thu Jun 18, 2020 8:23 pm   Subject: error messaging
Simple request. I currently compile with ftn95 filename.f

The errors do not include line numbers of the infraction. Since some of the error messages are rather 'obtuse' is there a way of getting ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group