New (LDAP constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
 
(3 intermediate revisions by one other user not shown)
Line 6: Line 6:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%LDAP</th><td>A declared <var>LDAP</var> object to contain the new <var>LDAP</var> object instance.</td></tr>
<tr><th>%LDAP</th><td>A declared <var>LDAP</var> object to contain the new <var>LDAP</var> object instance.</td></tr>
<tr><th><var>%(LDAP)</var></th>
<tr><th><var>[%(LDAP):]</var></th>
<td>The optional class name in parentheses denotes a <var>[[Notation conventions for methods#Constructors|Constructor]]</var>. See [[#Usage notes|"Usage notes"]], below, for more information about invoking an <var>LDAP</var> <var>Constructor</var>.</td></tr>
<td>The optional class name in parentheses denotes a <var>[[Notation conventions for methods#Constructors|Constructor]]</var>. See [[#Usage notes|"Usage notes"]], below, for more information about invoking an <var>LDAP</var> <var>Constructor</var>.</td></tr>
</table>
</table>
Line 15: Line 15:
<p class="code">%ldap = new
<p class="code">%ldap = new


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


%ldap = %ldap:new
%ldap = %ldap:new

Latest revision as of 20:23, 30 November 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. See "Usage notes", below, for more information about invoking an LDAP 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