<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<BR>At least for intrinsic LEN the description in the Fortran 2003 standard says of the&nbsp;argument <BR>
STRING&nbsp;that it "may be a scalar or an array".&nbsp; <BR>
&nbsp;<BR>
A scalar according to 2.4.4 is a "datum" that is not an array.<BR>
&nbsp;<BR>
A datum according to the glossary is a "single quantity".&nbsp; Beats me whether a function returning<BR>
CHARACTER can be a datum?<BR>
&nbsp;<BR>
I haven't checked Fortran 2008 to see if it still uses "datum" as a technical term (when we already<BR>
have "data entity" to do the job).&nbsp;&nbsp; Seems like one we could do without, and maybe that would<BR>
help answer questions like the one at hand.<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --Michael I.<BR><br /><hr />Windows Live™: Keep your life in sync. <a href='http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009' target='_new'>Check it out.</a></body>
</html>