From: Adam Beneschan <adam@irvine.com>
Subject: Re: Weird string I/O problem
Date: Mon, 1 Dec 2008 08:17:32 -0800 (PST)
Date: 2008-12-01T08:17:32-08:00 [thread overview]
Message-ID: <22b0950a-8867-4f66-9df9-8bf6a62f809b@w1g2000prk.googlegroups.com> (raw)
In-Reply-To: irrlgg.k0s.ln@hunter.axlog.fr
On Nov 27, 2:13 am, Jean-Pierre Rosen <ro...@adalog.fr> wrote:
> Adam Beneschan a écrit :> Set_Col(1) will use the current output file by default, so I don't
> > think it has any effect on input. Set_Col (Current_Input, 1) is what
> > I think you want.
>
> Sure. Just a shorthand for "calling Set_Col (on the appropriate file)
> with a value of 1".
I'd strongly recommend avoiding this particular kind of shorthand.
Since Set_Col(1) will actually compile in Ada due to overloading, but
won't do what you want, it could very easily be confusing. If you
want shorthand, try an ellipsis [e.g. Set_Col(..., 1);] because at
least that couldn't be confused with something you could actually
write in your program.
Just my 0.01576 euros...
-- Adam
next prev parent reply other threads:[~2008-12-01 16:17 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-26 5:52 Weird string I/O problem Jerry
2008-11-26 7:24 ` christoph.grein
2008-11-26 7:38 ` christoph.grein
2008-11-26 8:25 ` Dmitry A. Kazakov
2008-11-26 9:07 ` Jean-Pierre Rosen
2008-11-26 15:21 ` John McCormick
2008-11-26 15:56 ` Adam Beneschan
2008-11-27 10:13 ` Jean-Pierre Rosen
2008-12-01 16:17 ` Adam Beneschan [this message]
2008-11-27 4:46 ` Jerry
2008-11-27 10:27 ` Jean-Pierre Rosen
2008-12-01 19:47 ` anon
2008-12-02 5:44 ` christoph.grein
2008-12-02 6:55 ` anon
2008-12-02 7:53 ` christoph.grein
2008-12-02 16:39 ` Adam Beneschan
2008-12-03 9:16 ` anon
2008-12-03 10:42 ` christoph.grein
2008-12-03 12:21 ` John B. Matthews
2008-12-04 0:15 ` anon
2008-12-04 7:31 ` christoph.grein
2008-12-04 7:56 ` Ludovic Brenta
2008-12-04 8:46 ` Georg Bauhaus
2008-12-03 11:35 ` stefan-lucks
2008-12-04 0:27 ` anon
2008-12-04 8:58 ` stefan-lucks
2008-12-04 22:54 ` anon
2008-12-05 9:06 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox