1. Where are the Topica leading spaces???

What is happening to the leading spaces in some posts???

I had posted the following as part of my last post
(without the line numbers):

01 for k=1 to length(n) do
02   x=n[k]
03   a=ConvertBackToOriginal(x)
04   x=a[2]
05   if Number(a) then
06     ?x --print the number
07   else
08     printf(1,"%s\n",{x}) --print the character
09   end if
10 end for

and it appeared on the web interface as

(without the line numbers):
01 for k=1 to length(n) do
02 x=n[k]
03 a=ConvertBackToOriginal(x)
04 x=a[2]
05 if Number(a) then
06   ?x --print the number
07 else
08   printf(1,"%s\n",{x}) --print the character
09 end if
10 end for

note the missing leading spaces in lines 2 through 9...
What's up with that???
Where are the leading spaces going??????

--Al

new topic     » topic index » view message » categorize

2. Re: Where are the Topica leading spaces???

--- Al Getz <Xaxo at aol.com> wrote:
> What is happening to the leading spaces in some
> posts???
> 
> I had posted the following as part of my last post
> (without the line numbers):
> 
> 01 for k=1 to length(n) do
> 02   x=n[k]
> 03   a=ConvertBackToOriginal(x)
> 04   x=a[2]
> 05   if Number(a) then
> 06     ?x --print the number
> 07   else
> 08     printf(1,"%s\n",{x}) --print the character
> 09   end if
> 10 end for
> 
> and it appeared on the web interface as
> 
> (without the line numbers):
> 01 for k=1 to length(n) do
> 02 x=n[k]
> 03 a=ConvertBackToOriginal(x)
> 04 x=a[2]
> 05 if Number(a) then
> 06   ?x --print the number
> 07 else
> 08   printf(1,"%s\n",{x}) --print the character
> 09 end if
> 10 end for
> 
> note the missing leading spaces in lines 2 through
> 9...

Yeah...
You're right...
OH MY GOD!!!
WHAT DO YO THINK IT IS???????????

> What's up with that???
> Where are the leading spaces going??????

I think they're going to BELGIUM!!!!!
I see one floating around my head right now!!

SOMEBODY HELP ME!!!!
 
> --Al


Mike The Spike
PS. Who cares?

new topic     » goto parent     » topic index » view message » categorize

3. Re: Where are the Topica leading spaces???

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>
&nbsp;&nbsp;&nbsp;&nbsp;?x --print the number<BR>
  else<BR>
&nbsp;&nbsp;&nbsp;&nbsp;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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Where are the Topica leading spaces???

Robert Craig wrote:
> > It came through ok via e-mail.

Al Getz replied:
> I suspect whoever is "moderating" has something to do with this?

If it look fine in e-mail but not on the web page, that would eliminate
'moderating' as a culprit.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu