character: mark
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 2140 articles for 0.013 sec
Re: Returning a dynamic character array based on input length     

Group: comp.lang.fortran · Group Profile · Search for character: mark in comp.lang.fortran
Author: Ragu
Date: Sep 11, 2008 08:19

...22:20, Ragu <ssragun...@gmail.com> wrote: I have a simple question regarding allocating a character array that can represent a line in an input file. I am writing a small function that can read a line from an input file, strip the Fortran 90 style comments (Exclamation mark) and return the string. You can have a look at my Flibs project (http://flibs.sf.net): it...
Show full article (0.76Kb) · Show article thread
Re: Returning a dynamic character array based on input length     

Group: comp.lang.fortran · Group Profile · Search for character: mark in comp.lang.fortran
Author: Arjen Markus
Date: Sep 10, 2008 23:56

...sep, 22:20, Ragu <ssragun...@gmail.com> wrote: I have a simple question regarding allocating a character array that can represent a line in an input file. I am writing a small function that can read a line from an input file, strip the Fortran 90 style comments (Exclamation mark) and return the string. You can have a look at my Flibs project (http://flibs.sf.net): it...
Show full article (0.46Kb) · Show article thread
Re: Returning a dynamic character array based on input length     

Group: comp.lang.fortran · Group Profile · Search for character: mark in comp.lang.fortran
Author: nospam
Date: Sep 10, 2008 19:02

.... They aren't "pointers" in any sense known to the language, but you can think of an array index as in some sense pointing to a location in the array. That's perfectly standard and portable. -- Richard Maine | Good judgement comes from experience; email: last name at domain . net | experience comes from bad judgement. domain: summertriangle | -- Mark Twain
Show full article (0.81Kb) · Show article thread
Re: Returning a dynamic character array based on input length     

Group: comp.lang.fortran · Group Profile · Search for character: mark in comp.lang.fortran
Author: nospam
Date: Sep 10, 2008 18:58

.... One of the ones much used in "old times" was to put that one array in blank common and count on being able to exceed its declared bounds to get at memory that wasn't otherwise being used. -- Richard Maine | Good judgement comes from experience; email: last name at domain . net | experience comes from bad judgement. domain: summertriangle | -- Mark Twain
Show full article (2.36Kb) · Show article thread
Re: Returning a dynamic character array based on input length     

Group: comp.lang.fortran · Group Profile · Search for character: mark in comp.lang.fortran
Author: nospam
Date: Sep 10, 2008 17:07

...(aliasing, strides), and in things that the compiler is required to handle (automatic allocation/deallocation/initialization/etc.) But if you look at memory layout, they are probably the same. -- Richard Maine | Good judgement comes from experience; email: last name at domain . net | experience comes from bad judgement. domain: summertriangle | -- Mark Twain
Show full article (2.17Kb) · Show article thread
Re: Returning a dynamic character array based on input length     

Group: comp.lang.fortran · Group Profile · Search for character: mark in comp.lang.fortran
Author: Sjouke Burry
Date: Sep 10, 2008 15:59

...a simple question regarding allocating a character array that can represent a line...You can have an array of characters, but that's not the usual...comes from bad judgement. domain: summertriangle | -- Mark Twain I had the chicken and...default length of string from 1,000 characters to say 10,000 ...like looking for a string termination character). Each line in a text file...
Show full article (2.69Kb) · Show article thread
Re: Returning a dynamic character array based on input length     

Group: comp.lang.fortran · Group Profile · Search for character: mark in comp.lang.fortran
Author: nospam
Date: Sep 10, 2008 15:09

... length of string from 1,000 characters to say 10,000 ... characters. However, I need to find a way to abort or...looking for a string termination character). Each line in a text...of the record? "String termination character" isn't the right concept...Fortran. If it was a character then it could be in...domain . net | experience comes from bad judgement. domain: summertriangle | -- Mark Twain...
Show full article (2.34Kb) · Show article thread
Re: Returning a dynamic character array based on input length     

Group: comp.lang.fortran · Group Profile · Search for character: mark in comp.lang.fortran
Author: Ragu
Date: Sep 10, 2008 14:54

... simple question regarding allocating a character array that can represent a ... can have an array of characters, but that's not the...from bad judgement. domain: summertriangle           |  -- Mark Twain I had the chicken...length of string from 1,000 characters to say 10,000...characters. However, I need to find a way to abort or...looking for a string termination character). Each line in a text...
Show full article (2.43Kb) · Show article thread
Re: Returning a dynamic character array based on input length     

Group: comp.lang.fortran · Group Profile · Search for character: mark in comp.lang.fortran
Author: GaryScott
Date: Sep 10, 2008 14:38

...is dynamic allocation of the length of a character string. In f2003, that's pretty straightforward. You just make the character allocatable length and use an allocate statement (... needed). But f95 doesn't have allocatable character length, and that doesn't appear to ... name at domain . net | experience comes from bad judgement. domain: summertriangle           |  -- Mark Twain
Show full article (0.94Kb) · Show article thread
Re: Returning a dynamic character array based on input length     

Group: comp.lang.fortran · Group Profile · Search for character: mark in comp.lang.fortran
Author: nospam
Date: Sep 10, 2008 14:20

... simple question regarding allocating a character array that can represent a ... of the length of a character string. In f2003, that's ...straightforward. You just make the character allocatable length and use an...use very constructively without allocatable character strings in the calling procedure...domain . net | experience comes from bad judgement. domain: summertriangle | -- Mark Twain...
Show full article (4.31Kb) · Show article thread
1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · next