File tree 1 file changed +1
-1
lines changed
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
15
15
| Determine if an object was modified | ` Set variable = object.%IsModified() ` |
16
16
| Validate an object without saving | ` Set status = object.%ValidateObject() ` |
17
17
| 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) ` |
19
19
| Obtain status details after error | ` Do $system.Status.DecomposeStatus(status, .err) ` |
20
20
| Remove an object from process memory | ` Set object = "" ` |
21
21
| 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