Re: Conversion from int to char



Gary Scott <garylscott@xxxxxxxxxxxxx> wrote:

Ron Ford wrote:

What I don't see is a file. By "file," do people mean "whatever internal
variables you used to read the data?"
It's an abstract concept...the character variable is a substitute for a
"file".

And that's really, really how you want to think of it. Because if you
think of it that way, most other things about its usage pretty much
follow (ok, not all of them, but most of the basics). For a very
particular example, it is "obvious" when you want to do an internal read
versus an internal write. If that isn't obvious, then I'd say you aren't
yet really thinking about the character variable as a substitute for a
file. If you don't think of it that way, then you'll be like all the
other people who just try to memorize when to use read versus write, and
who guess wrong pretty much 50% of the time.

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.



Relevant Pages

  • Re: Conversion from int to char
    ... Gary Scott wrote: ... It's an abstract concept...the character variable is a substitute for a ... that while they might then be able to find the syntax, ... There's a lot of different io in fortran. ...
    (comp.lang.fortran)
  • Re: Can I fully trust portaudit only?
    ... trust Mr portaudit, what a pity;-) ... There is no substitute for applying your own judgement. ...
    (comp.unix.bsd.freebsd.misc)