New (Screen constructor)

From m204wiki
Revision as of 10:28, 28 June 2011 by Goff (talk | contribs) (unvar)
Jump to navigation Jump to search

Create new Screen instance (Screen class)

Theis shared function instantiates a Screen object.

Syntax

%screen = [%(Screen):]New

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