[Date Index] [Thread Index] [Author Index]
Re: How do I find my current directory?
In article <3ti241$klt at news0.cybernetics.net>, Joe Gwinn <gwinn at SUD2.ED.RAY.COM> wrote: >And also, does anybody know a way to allow entire-notebook evaluation to >be automatically aborted if for instance a Get fails? This is a wild guess (I'm not sure if it will work), but try replacing your Get statement with: If[Get["filename"]==$Failed,Abort,Null]; I'm not sure if the Abort command will stop all calculations, or just calculations on that particular command line. I made a brief test, with "x:=3;Abort;Print[x]" and I was rewarded with n answer of $Aborted rather than 3, so maybe it will work.... > >Thanks. > >Joe Gwinn / :@-) Scott \