replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - String length
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 

String length

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Myddelton



Joined: 05 Oct 2008
Posts: 2

PostPosted: Mon Oct 06, 2008 9:22 pm    Post subject: String length Reply with quote

In GNU F77 there is a command LNBLNK which computes the index position of the LAST non-blank character.

Is there a similar routine in FTN77?
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2615
Location: Sydney

PostPosted: Tue Oct 07, 2008 2:08 am    Post subject: Reply with quote

Len_trim is an intrinsic in ftn95. I'm not sure about ftn77.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Tue Oct 07, 2008 9:38 am    Post subject: Reply with quote

Try LENG.
Back to top
View user's profile Send private message AIM Address
JohnHorspool



Joined: 26 Sep 2005
Posts: 270
Location: Gloucestershire UK

PostPosted: Tue Oct 07, 2008 1:13 pm    Post subject: Reply with quote

I didn't think that LENG was part of the Fortran77 standard was it? In any case writing a routine to do this is very trivial.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Tue Oct 07, 2008 1:32 pm    Post subject: Reply with quote

LENG is not in the Fortran 77 standard.
This function was not included in the stardard (as LEN_TRIM) until Fortran 90.
Back to top
View user's profile Send private message AIM Address
Robert



Joined: 29 Nov 2006
Posts: 457
Location: Manchester

PostPosted: Tue Oct 07, 2008 4:30 pm    Post subject: Reply with quote

I wonder why it wasn't part of the Fortran 77 standard. It was more than 30 years ago so I guess we may never know.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group