1. RE: Where are the Topica leading spaces???
- Posted by Al Getz <Xaxo at aol.com> Feb 28, 2001
- 362 views
Robert Craig wrote: > Al Getz writes: > > What is happening to the leading spaces > > in some posts??? > > If you view the HTML on the Web page you'll see: > > for k=1 to length(n) do<BR> > x=n[k]<BR> > a=ConvertBackToOriginal(x)<BR> > x=a[2]<BR> > if Number(a) then<BR> > ?x --print the number<BR> > else<BR> > printf(1,"%s\n",{x}) --print the > character<BR> > end if<BR> > end for<BR> > > It looks like they don't try to preserve > the leading spaces unless you indent > by at least 4 (or maybe it's 3). > > It came through ok via e-mail. > > Regards, > Rob Craig > Rapid Deployment Software > http://www.RapidEuphoria.com > > Well thats not really the case, Rob. Strangely enough, all of the program section of my last post on "Re :A sequence by any other name" had exactly two leading spaces for all the indents, except where there are multiple indents in the same line, where then there are always an even multiple of 2 spaces. At least thats the way it was posted. So that means Topica had added one or two leading spaces in some parts of the code, and eliminated some leading spaces in another part of the code, all in the same post. Why would Topica do that? A forum for program development really needs to be able to display programs the way they are typed, for clarity if not any other reason. I suspect whoever is "moderating" has something to do with this? Lets see if they can get this right: No leading spaces at the start of this line. One leading space at the start of this line. Two leading spaces at the start of this line. Three leading spaces at the start of this line. Four leading spaces at the start of this line. Five leading spaces at the start of this line. Six leading spaces at the start of this line. --Al