conditional_access
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | conditional_access [2018/03/28 11:08] (current) – created wolfgangriedmann | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Conditional access ====== | ||
+ | |||
+ | In X# you can use a conditional access to an object. | ||
+ | |||
+ | Instead of writing | ||
+ | < | ||
+ | oObject: | ||
+ | endif</ | ||
+ | you can write | ||
+ | < | ||
+ | This means that there will be no exception in the case oObject is null. | ||
+ | Of course this works not only with methods, but also with properties (and access/ | ||
+ | < | ||
conditional_access.txt · Last modified: 2018/03/28 11:08 by wolfgangriedmann