Skip to Content.
Sympa Menu

freetds - RE: indent (next shot:) )

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: indent (next shot:) )
  • Date: Mon, 28 Oct 2002 15:06:54 -0500


> From: Castellano, Nicholas [mailto:Nicholas_Castellano AT acml.com]
> Sent: October 28, 2002 2:14 PM
>
> - We use tab stops of 8. Each indentation is one tab. Precise column
> alignment is (col / 8) * tab + (col % 8) * space. Gindent
> appears to be
> able to work this way (-ts8 -i8 -ut), and it will render
> properly on most terminals.

Good. Let's do that.

Splain to me, just so I'm clear, is this right:

if ((ret = tds_process_row_tokens(dbproc->tds_socket, &rowtype,
&computeid)) == TDS_SUCCEED) {

is really

1 2 3 4 5 6 7
2345678 2345678 2345678 2345678 2345678 2345678
\t if ((ret = tds_process_row_tokens(dbproc->tds_socket, &rowtype,
\t \t \t \t \t bb&computeid)) == TDS_SUCCEED) {

where "bb" stands for two blanks to align things?

Since we're adding 3 postions to a maximum of 3 levels of indentation, we
should probably set the line length to 80 + 3 * 3 = 89. Oh. Sorry. I seem
to have hit the <troll lock> key by accident.

--jkl


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.






Archive powered by MHonArc 2.6.24.

Top of Page