Opened 16 years ago

Closed 16 years ago

#248 closed enhancement (fixed)

add message to TASS assert

Reported by: Stephen Siegel Owned by: zirkel
Priority: major Milestone: Release 1.0
Component: multiple Version: 1.0
Keywords: assert print pragma string Cc:

Description

It would really improve usability if an optional form of the TASS assert pragma could be added that takes a string which will be printed if the assertion is violated. Something like:

#pragma TASS assert N>0, "N must be greater than 0."

I can handle the model level if someone else wants to add this capability to the front end.

Change History (2)

comment:1 by zirkel, 16 years ago

Owner: set to zirkel
Status: newaccepted

comment:2 by Stephen Siegel, 16 years ago

Resolution: fixed
Status: acceptedclosed

Tim did it.

Note: See TracTickets for help on using tickets.