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 , 16 years ago
| Owner: | set to |
|---|---|
| Status: | new → accepted |
comment:2 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

Tim did it.