File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ A list of some common ObjectScript expressions
1515| Determine if an object was modified | ` Set variable = object.%IsModified() ` |
1616| Validate an object without saving | ` Set status = object.%ValidateObject() ` |
1717| Validate a property without saving | ` Set status = ##class(package.class).PropertyIsValid(object.Property) ` |
18- | Print status after error | ` Do $system.Status.DisplayError(status) ` <br >` Zwrite status ` (v2012.2+) |
18+ | Print status after error | ` Do $system.Status.DisplayError(status) ` <br >` Write $system.Status.GetErrorText(status) ` |
1919| Obtain status details after error | ` Do $system.Status.DecomposeStatus(status, .err) ` |
2020| Remove an object from process memory | ` Set object = "" ` |
2121| Delete an existing object of a class | ` Set status = ##class(package.class).%DeleteId(id) ` |
You can’t perform that action at this time.
0 commit comments