void error(string format, ...)
Examples ¶
if (!pointattribtype(0,chs("nameattrib")) != 2) { error("Name attribute %s must be a string attribute!", chs("nameattrib")); return; } if (chf("distance") < 0) { error("") } float minimumValue = chf("min"); float maximumValue = chf("max"); if (minimumValue >= maximumValue) { error("Minimum (%f) must be strictly less than maximum (%f)! It's unclear what should be done.", minimumValue, maximumValue); return; }
See also | |
string |
|
utility |