On Mon, Dec 17, 2001 at 07:32:37PM -0000, John R wrote: > Hi all, > > Why does my console apparently change directory after an error occurs in > program (halted etc.)? > > Console session example below show:-> > > >> do/args %myprogs/ftget.r "FTX1" > Program FTGet begin > ["FTX1"] > Invalid FTSE Index argument : FTX1 > >> do/args %myprogs/ftget.r "FT1" > ** Access Error: Cannot open /C/rebol/view/myprogs/myprogs/ftget.r > ** Where: halt-view > ** Near: do/args %myprogs/ftget.r "FT1" > >>
That's a bug. Please submit it to feedback. 'do needs to switch directories in order to run the script (scripts expect their own directory to be current), but is supposed to switch back after the script has completed. Apparently that does not happen if an error occurs. -- Holger Kruse [EMAIL PROTECTED] -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
