New (LDAP constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 13: Line 13:
==Usage notes==
==Usage notes==
<ul>
<ul>
<li><var>New</var> can be called with no object, with an explicit class name, or with an object variable, even if that object is <var>Null</var>:
<li>As described in [[Object variables#Using New or other Constructors|"Using New or other Constructors"]], <var>New</var> can be called with no object, with an explicit class name, or with an object variable, even if that object is <var>Null</var>:
<p class="code">%ldap = new
<p class="code">%ldap = new



Revision as of 16:33, 25 July 2011

Create a new LDAP object (LDAP class)


Syntax

%ldap = [%(LDAP):]New

Syntax terms

%LDAPA declared LDAP object to contain the new LDAP object instance.
%(LDAP) The optional class name in parentheses denotes a Constructor.

Usage notes

  • As described in "Using New or other Constructors", New can be called with no object, with an explicit class name, or with an object variable, even if that object is Null:

    %ldap = new %ldap = %(ldap):new %ldap = %ldap:new

See also