New (Screen constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 2: Line 2:


This shared function instantiates a Screen object.
This shared function instantiates a Screen object.
 
==Syntax==
  %screen = New
===Syntax terms===
 
<dl>
; <font size='3'>New syntax</font>
<dt>%screen  
 
<dd>A declared Screen object variable.
; %screen  
</dl>
: A declared Screen object variable.
==Usage Notes==
 
; <font size='3'>Usage Notes</font>


New is a constructor and as such it can be called with no object, with an explicit class name, or with an object variable, even if that object is null:
New is a constructor and as such it can be called with no object, with an explicit class name, or with an object variable, even if that object is null:

Revision as of 19:38, 18 March 2011

Create new Screen instance (Screen class)


This shared function instantiates a Screen object.

Syntax

Syntax terms

%screen
A declared Screen object variable.

Usage Notes

New is a constructor and as such it can be called with no object, with an explicit class name, or with an object variable, even if that object is null:

%scr = new
%scr = %(screen):new
%scr = %scr:new

See also