replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: Search
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 14 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Array variables
skeptic

Replies: 20
Views: 22449

PostForum: Support   Posted: Mon Dec 08, 2014 10:22 am   Subject:
I have been using a small group of single line statement functions (both with and without IMPLICIT NONE) for 45 years with no problems at all.
  Topic: outputting a blank line
skeptic

Replies: 11
Views: 11648

PostForum: Support   Posted: Thu Aug 28, 2014 11:26 am   Subject:
Many thanks, John. It works exactly as you stated. The only drawback is, I believe, that TRANSPARENT is not a standard Fortran feature? However, it produces exactly what I needed.
  Topic: outputting a blank line
skeptic

Replies: 11
Views: 11648

PostForum: Support   Posted: Wed Aug 27, 2014 12:00 pm   Subject:
I can reproduce lines consisting of n space characters, but not lines containing nothing at all.
  Topic: outputting a blank line
skeptic

Replies: 11
Views: 11648

PostForum: Support   Posted: Wed Aug 27, 2014 10:31 am   Subject: outputting a blank line
I have a program that reads a text file line by line, making occasional adjustments, then outputting the (revised) line character by character.
This works fine except for completely blank lines. Us ...
  Topic: Problem with TRIM
skeptic

Replies: 5
Views: 7626

PostForum: Support   Posted: Tue Oct 23, 2012 7:25 pm   Subject: Problem with TRIM
PRINT *,TRIM(STRINGS) fails to compile

but STRINGS=TRIM(STRINGS) compiles OK
  Topic: Problem with TRIM
skeptic

Replies: 5
Views: 7626

PostForum: Support   Posted: Tue Oct 23, 2012 4:37 pm   Subject: Problem with TRIM
I didn't have this problem in 2009 but now -

CHARACTER*8 STRINGS(3)
STRINGS=(/'Longer ','Short ','Longest '/)
STRINGS=TRIM(STRINGS)
PRINT '(/(A8))',STRINGS
END

doesn't work properly. OK ...
  Topic: Opening file reading writing data
skeptic

Replies: 6
Views: 9624

PostForum: Support   Posted: Mon Mar 12, 2012 12:03 pm   Subject:
I don't know what you are doing, or not doing, but your
program works for me just as you listed it -

with and without any 'close' statement
with and without the 'stop' statement
  Topic: Opening file reading writing data
skeptic

Replies: 6
Views: 9624

PostForum: Support   Posted: Mon Mar 12, 2012 11:40 am   Subject:
Or, simply, remove the 'stop' statement. END closes all files.
  Topic: Specification/initialisation problem
skeptic

Replies: 2
Views: 4776

PostForum: Support   Posted: Mon Feb 27, 2012 3:40 pm   Subject: Specification/initialisation problem
The following statement (from the Intel Fortran Reference manual)

REAL PI/3.14159/, E/2.71828/, QARRAY(10)/5*0.0,5*1.0/

produces the error '*** Not enough variables in DATA statement'
whe ...
  Topic: Odd specification error
skeptic

Replies: 1
Views: 4684

PostForum: General   Posted: Sun Feb 26, 2012 10:52 pm   Subject: Odd specification error
The following compile OK

INTEGER*1 BYTE(2)/1,2/, BYTE1/3/

or

INTEGER*1 BYTE1, BYTE(2)/1,2/

but this (and variations of it)

INTEGER*1 BYTE1/3/, BYTE(2)/1,2/

produces the compila ...
  Topic: Daft question re conditional breakpoints in SDBG
skeptic

Replies: 8
Views: 8847

PostForum: Support   Posted: Tue Sep 13, 2011 2:31 pm   Subject:
I have just tested

IF(X/=Y)THEN
print *,'not equal'
ELSE
print *,'equal'
END IF

It works. Try it again
  Topic: Daft question re conditional breakpoints in SDBG
skeptic

Replies: 8
Views: 8847

PostForum: Support   Posted: Tue Sep 13, 2011 12:10 pm   Subject:
Try /=
  Topic: Arguments of Min and Max
skeptic

Replies: 4
Views: 6781

PostForum: Support   Posted: Wed Jul 20, 2011 5:32 pm   Subject: Arguments of Min and Max
Klaus, which version are you using?

Using v5.0.0, I have tried all permutations (of Integer, Single and Double)
and all yield the correct answers.
  Topic: Arguments of Min and Max
skeptic

Replies: 4
Views: 6781

PostForum: Support   Posted: Wed Jul 20, 2011 3:14 pm   Subject: Arguments of Min andMax
It depends on the order of the arguments?

Try I,R then D - correct!
but R,D and I - incorrect
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group