[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: TABs in SQR?
- Subject: Re: TABs in SQR?
- From: John Milardovic <milardj@SX.COM>
- Date: Mon, 16 Aug 1999 13:50:14 -0400
Hi Sharon.
My company has a policy of NOT letting any tabs in our source code.
I'm not sure if TABS cause problems in SQR or whether this is just a
holdover from experience with other languages. Anyway what I wanted to
mention is that if you're company does have a NO TAB rule you might want to
use Ultraedit to code your SQR (as I highly recommend) it has a feature that
replaces all tabs with spaces and another feature that makes the TAB key
translate into user defined number of spaces. Or if you're working on UNIX
you can run this perl one liner to get rid of tabs:
perl -pe -i.bak 's/\t/ /g' sourcecodefile
where / / has the number of spaces you want to translate tabs to. This
script will make changes in <sourcecodefile> and save the original in
<sourcecodefile>.bak.
John Milardovic
> -----Original Message-----
> From: Sharon Bennett [SMTP:sbennett@SOFTWAREARCH.COM]
> Sent: Monday, August 16, 1999 1:21 PM
> To: Multiple recipients of list SQR-USERS
> Subject: TABs in SQR?
>
> 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.