[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] Help needed for an unexperimented user
- To: stronged@xxxxxxxxxxxxxx
- Subject: Re: [StrongED] Help needed for an unexperimented user
- From: Fred Graute <fjgraute@xxxxxxxxx>
- Date: Fri, 27 Sep 2013 14:27:35 +0200
- Envelope-to: stronged@xxxxxxxxxxxxxx
- In-reply-to: <CAFztDOn_8nRsa0FHy0kXC_p9CxoozvG-uQa+EUQ=-2dLZq78Pw@mail.gmail.com>
- List-id: RISC OS StrongED mailing list
- References: <CAFztDOn_8nRsa0FHy0kXC_p9CxoozvG-uQa+EUQ=-2dLZq78Pw@mail.gmail.com>
- Reply-to: StrongED@xxxxxxxxxxxxxx
- User-agent: Messenger-Pro/6.05 (MsgServe/6.04) (RISC-OS/5.19)
In message <CAFztDOn_8nRsa0FHy0kXC_p9CxoozvG-uQa+EUQ=-2dLZq78Pw@xxxxxxxxxxxxxx>
Xavier Louis Tardy <xltardy@xxxxxxxxx> wrote:
> So here is my question : can somebody tell me if there's a way to have a
> script, so that a copy of my source text is saved with all comments lines
> starting with ';' removed ; have this 'new and clean' source pop up in a
> new StrongEd window, and from here I can run the source, now not exceeding
> the max number of lines BASIC can handle.
You could try using StrongED's advanced Search and Replace. Like this:
- Open the SnR dialogue box by pressing Shift-F4.
- In the Search field enter: < {" "} ";" * \n
- Leave the Replace field blank.
- Make sure Engine is set to Advanced (click on the field to alter it).
- Click on Go to start the SnR.
- In the 'What now?' window that pops up click on replace All.
This should remove all lines that start with ";" (which may be preceded
by spaces). Save the file afterwards and see if BASIC now accepts it.
Cheers,
Fred.
--
StrongED Developer
http://www.stronged.iconbar.com/
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx