(j3.2006) UK10 paper

Craig Dedo craig
Tue Oct 1 20:40:35 EDT 2013


> -----Original Message-----
> From: j3-bounces at mailman.j3-fortran.org [mailto:j3-bounces at mailman.j3-fortran.org]
> On Behalf Of Van Snyder
> Sent: Tuesday, October 01, 2013 17:39
> To: fortran standards email list for J3
> Subject: Re: (j3.2006) UK10 paper
> 
> Why not just silently eliminate characters < 0x20?

Why not convert the non-printable characters to spaces?  I.e., instead of:
	Stop 'ERROR: non-ASCII character'
Write:
	Line ( i:i ) = blank
Doing this would automatically convert any troublesome characters to blanks without
choking.

> On Tue, 2013-10-01 at 15:23 -0600, Dan Nagle wrote:
> > Hi,
> >
> >       check_non_ascii: do i = 1, max_text_len
> >
> >          found_non_ascii: if( .not. ( ichar( blank) <= ichar( line( i: i)) &
> >                               .and. ( code_del > ichar( line( i: i))
> > )) )then
> >
> >             stop 'ERROR: non-ASCII character'
> >
> >          end if found_non_ascii
> >
> >       end do check_non_ascii
> >
> >
> > On Oct 1, 2013, at 10:42 , David Muxworthy <d.muxworthy at bcs.org.uk> wrote:
> >
> > > On 1 Oct 2013,Dan Nagle wrote:
> > >
> > >> It's in the edit at 440:15, between the ( and the "
> > >
> > > No wonder I couldn't find it. I was looking for codes outside 00 to
> > > 7f and that is 0f.  Which ASCII codes are considered to be
> > > non-ASCII?
> > >
> > > David
> > >
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3


Sincerely,
Craig T. Dedo
17130 W. Burleigh Place
P. O. Box 423                         Mobile Phone:  (414) 412-5869
Brookfield, WI   53008-0423    E-mail:  <craig at ctdedo.com>
USA
Linked-In:  http://www.linkedin.com/in/craigdedo






More information about the J3 mailing list