[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: TABs in SQR?



Sharon,

As a general rule, SQR is perfectly tab-tolerant.

However, you may wish to avoid them because:

1) a tab inside a quoted string may be difficult to distinguish
   from a space inside a quoted string (this kind of thing drives
   programmers nuts), and
2) printing or mailing of SQR that contain tabs is a hassle if
   margins or other text (for example, if "> " gets added).

I never use tabs in my own code, but I defend the right of other
people to use them. ;-)

Ray

> A fellow consultant who has been coding SQR for several years recently told
> me to make sure I have no TABs in my programs. Now I think to this point I
> may only have had a couple in the comments in my programs; however, my
> question is 'Why is this important?' I can not find a reference to TABs in
> the SQR3 User Guide nor in the book SQR in PeopleSoft and Other
> Applications. Granted I have not read either of the books cover to cover.
> Another consultant here says he has never heard that TABs cause problems
> before now. I have been writing SQR now for 6 months, and was a Visual Basic
> programmer prior to this, so this seems really odd to me.
>

----------------------------------------------------------------------
Ray Ontko       |  Ray Ontko & Co  |  "RO&C: data movers and shakers."
rayo@ontko.com  |  Richmond, In    |  See us at http://www.ontko.com/