Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1569

Re: Merging three files together?

From Roger Darlington <rogerarm@freeuk.com>
Newsgroups comp.sys.acorn.programmer
Subject Re: Merging three files together?
Date 2012-04-02 09:28 +0100
Organization home
Message-ID <8421047a52.rogerarm@rogerarm.freeuk.com> (permalink)
References <f08f977952.rogerarm@rogerarm.freeuk.com> <d989c47952.martin@blueyonder.co.uk>

Show all headers | View raw


On 1 Apr 2012, Martin Bazley  wrote:
> The following bytes were arranged on 1 Apr 2012 by Roger Darlington :

>> SPOOL "<!Genus_Fam$Dir>.GeneraToFamilyInfo/htm"
>> PRINT "<!Genus_Fam$Dir>.Header"
>> PRINT "<!Genus_Fam$Dir>.Middle"
>> PRINT "<!Genus_Fam$Dir>.Footer"
>> *Spool

> While it won't solve your fundamental problem of this being a filthy
> bodge which really should have a better solution, this will at least be
> slightly quicker:

> (Note: The following should be three single lines!)

> *Copy <!Genus_Fam$Dir>.Header <!Genus_Fam$Dir>.GeneraToFamilyInfo/htm ~C~VF
> *Print <!Genus_Fam$Dir>.Middle { >> <!Genus_Fam$Dir>.GeneraToFamilyInfo/htm }
> *Print <!Genus_Fam$Dir>.Footer { >> <!Genus_Fam$Dir>.GeneraToFamilyInfo/htm }

OK, thanks Martin

>> Is there a simpler and quicker way (within BASIC).

> What are you on about?  There's no such thing as a SPOOL command in
> BASIC, and the PRINT keyword certainly doesn't behave as you imply
> above!

It seems that all the OSCLI commands dissappeared when I copied the 
extract from Zaps BASIC editor into MessPros e-mail editor :-((

I just deleted all those curious spurious characters not realising 
that they were the remnants of the OSCLI commands...




-- 

Cheers
Roger
What a scandal: The vandals stole the handles off all the candles

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Merging three files together? Roger Darlington <rogerarm@freeuk.com> - 2012-04-01 13:42 +0100
  Re: Merging three files together? Steve Drain <steve@kappa.me.uk> - 2012-04-01 17:48 +0100
    Re: Merging three files together? Roger Darlington <rogerarm@freeuk.com> - 2012-04-02 09:33 +0100
      Re: Merging three files together? Steve Drain <steve@kappa.me.uk> - 2012-04-02 11:56 +0100
  Re: Merging three files together? Martin Bazley <martin.bazley@blueyonder.co.uk> - 2012-04-01 21:53 +0100
    Re: Merging three files together? Roger Darlington <rogerarm@freeuk.com> - 2012-04-02 09:28 +0100

csiph-web