Page 1 of 1

Running .PRG files from part way through

Posted: Wed May 25, 2011 8:53 am
by neilblake
Is there any way of running a programme (.prg) file other than from the first line? If you could, it would be very useful for putting lengthy .prg files together

Re: Running .PRG files from part way through

Posted: Wed May 25, 2011 8:55 am
by EViews Gareth
Unfortunately not (other than copying and pasting into a new program).

Re: Running .PRG files from part way through

Posted: Wed May 25, 2011 9:18 am
by startz
Can you get part way toward what you want by writing a bunch of separate files and then one master file that's just a bunch of EXEC commands?

Re: Running .PRG files from part way through

Posted: Thu May 26, 2011 4:46 am
by neilblake
I think I'll add it to the wish list. This facility was available in the Aremos package and I found that it was increadably useful for writing programmes and debugging them. OK, you can break things down to a lot of smaller files together but it can be a bit of an organisation nightmare putting them back together again!