Re: printing logical variables as "true" and "false"
- From: nospam@xxxxxxxxxxxxx (Richard E Maine)
- Date: Mon, 28 Nov 2005 12:38:40 -0800
<beliavsky@xxxxxxx> wrote:
> I would like to print logical variables as "true" and "false" rather
> than just "T" and "F", which is what Fortran WRITE statements do. I can
> define functions that convert .true. and .false. to the strings "true"
> and "false", but is there some edit descriptor I have overlooked?
Nope. I don't know of a language-provided shortcut for this. Your
function is a pretty simple one to write, but I don't know a way to
avoid it.
--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain| experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
.
- Follow-Ups:
- Re: printing logical variables as "true" and "false"
- From: *** Hendrickson
- Re: printing logical variables as "true" and "false"
- References:
- printing logical variables as "true" and "false"
- From: beliavsky
- printing logical variables as "true" and "false"
- Prev by Date: Re: Ten Commandments (On Topic!)
- Next by Date: Re: printing logical variables as "true" and "false"
- Previous by thread: printing logical variables as "true" and "false"
- Next by thread: Re: printing logical variables as "true" and "false"
- Index(es):