I'd like to customize the new Assert to print message as it usually does, but to also Abort[] all c开发者_运维知识库omputation. Abort[] part is easy, but how do I generate the same message as the default?
How about this?
$AssertFunction = (Message[Assert::asrtf, #1]; Abort[]) &
精彩评论