you could also do something like this:
/* */
Do i = 1 to 10
  out = 'col'i
  Say right(out,length(out)+i-1)
End

Which doesn't depend on typing spaces,   And shows that it is probably the
editor rather than rexx.

Scott Rohling

On Thu, Nov 4, 2010 at 7:59 AM, Mark Pace <pacemainl...@gmail.com> wrote:

> So I noticed another difference in the source files.   In the rexx code,
> the
> say begins in cc1 and the literal is in cc4,  in the C code the printf
> begins in cc2 and the literal begins in cc10.   So I tried moving my SAY
> statements over one cc at a time.  Once I got the literal beginning in cc8
> -
> the tabs went away.  So "the" is inserting tabs for some other language
> formatting.
>
> On Thu, Nov 4, 2010 at 9:51 AM, Mark Pace <pacemainl...@gmail.com> wrote:
>
> > Yes, there are \t in the source.  The question is, How did they get
> there?
> >
> > Is it the editor?
> > Well that's easy enough to test.  The file was created with "the"  so I
> > modified the file using vi. delete the tabs, and insert spaces.
> > Now when I run it, it displays properly.  So maybe it's "the",  except
> that
> > I also used "the" to create the test.c program and it does not have the
> same
> > problems.
> >
> >
> > On Thu, Nov 4, 2010 at 9:43 AM, Edmund R. MacKenty <
> > ed.macke...@rocketsoftware.com> wrote:
> >
> >> On Thursday, November 04, 2010 09:25:14 am you wrote:
> >> > #! /usr/bin/rexx
> >> > /* */
> >> > say'....+....1....+....2....+....3'
> >> > say'col1'
> >> > say' col2'
> >> > say'  col3'
> >> > say'   col4'
> >> > say'    col5'
> >> > say'     col6'
> >> > exit
> >>
> >> You sure your editor isn't inserting TAB characters when you type
> spaces?
> >> Some try to be "smart" about indentation.  A simple way to find out:
> >>
> >>        od -c test.rxx
> >>
> >> If you see any "\t" sequences in the output, then you know the TABs are
> in
> >> the
> >> source code.
> >>        - MacK.
> >> -----
> >> Edmund R. MacKenty
> >> Software Architect
> >> Rocket Software
> >> 275 Grove Street  -  Newton, MA 02466-2272  -  USA
> >> Tel: +1.617.614.4321
> >> Email: m...@rs.com
> >> Web: www.rocketsoftware.com
> >>
> >> ----------------------------------------------------------------------
> >> For LINUX-390 subscribe / signoff / archive access instructions,
> >> send email to lists...@vm.marist.edu with the message: INFO LINUX-390
> or
> >> visit
> >> http://www.marist.edu/htbin/wlvindex?LINUX-390
> >> ----------------------------------------------------------------------
> >> For more information on Linux on System z, visit
> >> http://wiki.linuxvm.org/
> >>
> >
> >
> >
> > --
> > Mark D Pace
> > Senior Systems Engineer
> > Mainline Information Systems
> >
> >
> >
> >
> >
>
>
> --
> Mark D Pace
> Senior Systems Engineer
> Mainline Information Systems
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to