[Ecls-list] Command line arguments, :noloadrc, special vars
Matthew Mondor
mm_lists at pulsar-zone.net
Mon Jan 24 23:12:23 UTC 2011
On Mon, 24 Jan 2011 22:09:46 +0100
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:
> Let me try to explain it better. In your former example you had two levels
> of argument checking: the one in your code (process-command-args) and the
> one performed again by si:top-level. That was the reason why redefining
> locally *help-file* did not work.
>
> In the new version si:top-level does not invoke process-command-args. The
> only argument processing will happen at the beginning. If you wish to signal
> an error due to missing or wrong arguments, then you have to customize the
> value that you give to process-command-args.
>
> Alternatively, if all the arguments you need are ECL's, then invoke
> (SI:TOP-LEVEL T) instead of (SI:TOP-LEVEL).
I tried the new changes with new test code and they seem fine to me. I
also indeed no longer get spurious .eclrc loading. Thanks again.
--
Matt
More information about the ecl-devel
mailing list