Hi. I am teaching a Fortran 90 course and I have a question. I was showing the
class kinds for character constants. A student asked why would we want to use a
kind for a character constant.
In answer I thought: Suppose there is a character kind that has some characters
in common...wait...
Hmmm...for concatenation you would need the kind specified if you were
concatinating strings that weren't the default kind, no?
Does that make sense? Anyone have any other examples where character kind needs
to be specified?
Thanks. Writing does help thinking after all. :)
Bob Kernell
Research Scientist
Surface Validation Group
AS&M, Inc.
email: [log in to unmask]
tel: 757-827-4631
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|