Hey,

I'm attempting to add before 'advice' to the (batch) function to do some
path manipulation tricks.  I'm experiencing the following strange
behavior:

Jess> (defadvice before batch
(printout t "before batch advice" crlf))
TRUE
Jess> (batch main.clp)
before batch advice
Hello from main.clp
Hello from second.clp
Jess>

The 'main.clp' file is defined as follows:

(printout t "Hello from main.clp" crlf)

(batch second.clp)

and 'second.clp' contains simply:

(printout t "Hello from main.clp" crlf)

As you can see, for some reason the batch 'advice' doesn't get executed
when (batch) is called from within 'main.clp'.

I'm going to start poking at the source code, but I thought if someone
might be able to point out something obvious, it might save me some
time.

Thanks in advance. 

-Mitch



--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to