RE: Fw: Two questions

new topic     » topic index » view thread      » older message » newer message

---------------------
> 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


--------------------------------------------------------------------
CAUTION - This email and any files attached may contain privileged and
confidential information intended solely for the use of the individual or
entity to whom they are addressed. If you are not the intended recipient of
this message you are hereby notified that any use, dissemination,
distribution or reproduction of this message is prohibited. If you have
received this message in error please notify the sender immediately. Any
views expressed in this message are those of the individual sender and may
not necessarily reflect the views of Global Technology Australasia Limited.
--------------------------------------------------------------------

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu