CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Short question on command in user fortran

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 17, 2000, 10:20
Default Short question on command in user fortran
  #1
Franz Thomsen
Guest
 
Posts: n/a
I seem to have trouble finding an explanation in the manual When writing: IF (CNAME(1:2).EQ.'V ') THEN What does the 1:2 mean ?

Thanks in advance

Franz Thomsen Aalborg University
  Reply With Quote

Old   June 18, 2000, 19:40
Default Re: Short question on command in user fortran
  #2
Glenn Horrocks
Guest
 
Posts: n/a
Hi Franz,

cname(1:2) returns a string containing the first two characters of the string cname. For example, if cname="abcdefghij", then cname(1:2) returns "ab".

Welcome to the joys of fortran programming.

Glenn
  Reply With Quote

Old   June 20, 2000, 06:35
Default Thanks
  #3
Franz Thomsen
Guest
 
Posts: n/a
As subject
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
CFX arc-modeling, User Fortran, CEL.... Bloshchitsyn Vladimir CFX 0 October 15, 2007 06:39
User FORTRAN: USER_GET_MESH_DATA Yuko CFX 0 October 28, 2004 04:08
about USER FORTRAN compiling issue CXL CFX 1 October 9, 2003 21:00
Commercial software question (user viscosity) Jeff Main CFD Forum 2 July 20, 2002 10:41


All times are GMT -4. The time now is 15:20.