Anonymous user
Active Directory/Search for a user: Difference between revisions
Active Directory/Search for a user (view source)
Revision as of 18:39, 11 December 2015
, 8 years ago→{{header|Eiffel}}
Line 27:
=={{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>
feature -- Validation
|