Active Directory/Search for a user: Difference between revisions
Content added Content deleted
Line 27: | Line 27: | ||
=={{header|Eiffel}}== |
=={{header|Eiffel}}== |
||
Eiffel does not have the notion of "return", but "Result". A consequence of this is that Eiffel routines are Single-entry-Single-exit, which means less bugs. In the example (below), the Result is of type BOOLEAN. |
|||
Moreover, strings in Eiffel are objects and cannot be directly passed to the Windows OS. As such, they need to undergo a format change through the facilities of a WEL_STRING, which makes the appropriate structure conversion. |
|||
<lang Eiffel> |
<lang Eiffel> |
||
feature -- Validation |
feature -- Validation |