Re: simple question

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thanks to you and all who responded!

Chris


--- "C. K. Lester" <cklester at yahoo.com> wrote:
> 
> > printf(1,"%s",{buffer})
> >
> > When I try to run the above, I get the following
> error
> > message:
> >
> > "sequence found inside character string"
> 
> At this point, buffer is actually a sequence of
> sequences.
> 
> To see this, use the following:
> 
>     ? buffer
> 
> What you'll need to do is either loop through
> length( buffer ) and print
> each...
> 
>     for t=1 to length(buffer) do
>         printf(1, "%s", {buffer[t]} )
>     end for
> 
> OR
> 
> when you create buffer, use
> 
>     buffer &= line
> 
> instead of
> 
>     buffer = append(buffer, line)
> 
> Then you can use
> 
>     printf(1, "%s", {buffer})
> 
> I think. :)
> 
> -ck
> 
>
> 
> 
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu