Author |
Message |
Topic: You Cannot Compare Logical Values with EQ. |
BillJohnson
Replies: 9
Views: 10426
|
Forum: General Posted: Mon Apr 25, 2016 3:03 am Subject: |
Okay Guys. Still getting the compilation errors. I've change the "EQ" to "EQV" for the if-then-else conditional statements and the silver frost compiler is still complaining about ... |
Topic: You Cannot Compare Logical Values with EQ. |
BillJohnson
Replies: 9
Views: 10426
|
Forum: General Posted: Sat Apr 23, 2016 4:04 pm Subject: |
How do you in fortran declare / dimension a variablebas LOGICAL? |
Topic: \COMMONS.CMN cannot be opened |
BillJohnson
Replies: 7
Views: 9346
|
Forum: General Posted: Sat Apr 23, 2016 3:19 pm Subject: |
I finally figured out what I was doing wrong. When adding the code to visual studio I selected the code that was under the directroy "c:\temp\NIST' inside of visual studio. However, my solution ... |
Topic: You Cannot Compare Logical Values with EQ. |
BillJohnson
Replies: 9
Views: 10426
|
Forum: General Posted: Sat Apr 23, 2016 3:13 pm Subject: You Cannot Compare Logical Values with EQ. |
Dear Forum,
I am having issues with compiling someone's FORTRAN code. The silver frost compiler is complaining about "you cannot compare logical values with eq." on lines 2765 and 2771.
... |
Topic: \COMMONS.CMN cannot be opened |
BillJohnson
Replies: 7
Views: 9346
|
Forum: General Posted: Sat Apr 23, 2016 2:58 pm Subject: |
This is so frustrating. I know it is a simple task, but when you don't have a clue what to do....I am completely lost on how to specify the path within code or within the properties menu of visual st ... |
Topic: \COMMONS.CMN cannot be opened |
BillJohnson
Replies: 7
Views: 9346
|
Forum: General Posted: Sat Apr 23, 2016 2:52 pm Subject: |
I've looked in the properties of the project and don't see any location for specifying the include files. Is it possible you could take a screen shot of your visual studio screen and please show me w ... |
Topic: \COMMONS.CMN cannot be opened |
BillJohnson
Replies: 7
Views: 9346
|
Forum: General Posted: Sat Apr 23, 2016 1:55 pm Subject: Still Confused. |
Dear Forum,
I don't know how to set the path for the commons.cmn file that is referenced within the .for file.
Here's a code snippet inside the .for file that is referencing the commons.cmn file ... |
Topic: \COMMONS.CMN cannot be opened |
BillJohnson
Replies: 7
Views: 9346
|
Forum: General Posted: Fri Apr 22, 2016 3:22 am Subject: \COMMONS.CMN cannot be opened |
I've received new fortran source code from NIST for the calculation of steam table properties. Within this new release of source code they are introduced a set of common.cmn files into the source cod ... |
Topic: Passing Integers and Character String from C# to FORTRAN |
BillJohnson
Replies: 9
Views: 14663
|
Forum: Support Posted: Wed Feb 20, 2013 12:13 am Subject: |
Hi Jill.
Thank you for your help. I've convert over to strings. But, now the silverfrost compile is saying that 'Argument '2': cannot convert 'string' to 'Salford.Fortran.Character*' What is a S ... |
Topic: Passing Integers and Character String from C# to FORTRAN |
BillJohnson
Replies: 9
Views: 14663
|
Forum: Support Posted: Tue Feb 19, 2013 5:59 pm Subject: |
Hi Jill,
I see that you changed the original FORTRAN code for the dimension of the character strings from "PLANTCODE*4" to "PLANTCODE*(*)". I haven't seen this type dimensionin ... |
Topic: Passing Integers and Character String from C# to FORTRAN |
BillJohnson
Replies: 9
Views: 14663
|
Forum: Support Posted: Tue Feb 19, 2013 3:22 pm Subject: |
Hi Jill,
How are the plantCode, and material arguments to the CSharpFactor function dimensioned within your C# code?
R/ Bill |
Topic: Passing Integers and Character String from C# to FORTRAN |
BillJohnson
Replies: 9
Views: 14663
|
Forum: Support Posted: Tue Feb 19, 2013 3:34 am Subject: |
Jill, Thank you for your response. But, my problem is not seeing the function inside of C#. I can see all the fortran functions inside c#. My problem is that I don't know how to pass character str ... |
Topic: Passing Integers and Character String from C# to FORTRAN |
BillJohnson
Replies: 9
Views: 14663
|
Forum: Support Posted: Sat Feb 16, 2013 7:59 pm Subject: Passing Integers and Character String from C# to FORTRAN |
Dear Forums,
I am developing an application in Visual Studio C# and passing arguments from C# into FORTRAN.
I am having problems passing integers and character strings. C# is not my strongest p ... |
Topic: LINK : error : Main program not permitted in DLL |
BillJohnson
Replies: 2
Views: 4540
|
Forum: Support Posted: Sat Feb 16, 2013 7:54 pm Subject: |
Paul. Thank you. That was it.
R/ Bill |
Topic: LINK : error : Main program not permitted in DLL |
BillJohnson
Replies: 2
Views: 4540
|
Forum: Support Posted: Sat Feb 16, 2013 5:10 am Subject: LINK : error : Main program not permitted in DLL |
I am compiling a FORTRAN program in Visual Studio 2005 with several functions, subroutines, and includes. After rebuilding the FORTRAN program in Visual Studio it is throwing the following error:
... |
|