Re: Fw: Two questions
- Posted by rforno at tutopia.com Sep 06, 2001
- 415 views
Derek: Of course I did. But what I am questioning is the lack of symmetry between get() and put(), or better, why get() needs a whitespace before the next '{'. It seems very easy to fix this, unless there is a hiden reason for that behavior. ----- Original Message ----- From: "Derek Parnell" <ddparnell at bigpond.com> To: "EUforum" <EUforum at topica.com> Subject: RE: Fw: Two questions > > --------------------- > > From: rforno at tutopia.com > > To: EUforum <EUforum at topica.com> > > Reply-To: EUforum at topica.com > > Subject: Fw: Two questions > > Date: 6/09/2001 5:55:03 AM > > > > > > Rob: > > > I find slightly annoying the need to > > insert a whitespace character in a > > file > > > that has to be read by means of get(), > > because to create such a file you > > > would need two instructions for each > > object, namely: > > > > > > print(file, object) > > > puts(file, "\n") (or puts(file, " ") ) > > > > > > Maybe there is an alternative to this > > that I don't know. > > > > Hi Ricardo, > I suppose you already created a ... > > procedure prints(integer fh, object x) > print(fh, x) > puts(fh, ' ') > end procedure > > for yourself. > > ----------- > cheers, > Derek Parnell > Senior Design Engineer > Global Technology Australasia Ltd > dparnell at glotec.com.au > > > -------------------------------------------------------------------- of > -------------------------------------------------------------------- > > >