<< throwAsCaller | Error manager |
warning() |
warning(msg) |
warning(id, msg) |
warning(state) |
warning(state, id) |
st = warning() |
warning(st) |
a string: identifier for the warning.
a string: message to warn.
a string: 'on', 'off', 'aserror', 'all' or 'query'.
a struct: set warning settings.
a struct, warning settings.
warning displays a warning message.
warning('') resets lastwarn state.
warning('your warning message.')
warning('on', 'myModule:identifier');
warning('myModule:identifier', 'my message 1 on');
warning('off', 'myModule:identifier');
warning('myModule:identifier', 'my message 2 off');
warning('aserror', 'myModule:identifier');
warning('myModule:identifier', 'my message 3 as error');
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET