Difference between revisions of "New"
Jump to navigation
Jump to search
(Created page with "<c>new</c> is a keyword unary operator used to create a subclass or instance. <c>new</c> acts on a map, and returns a new map with __isa set to the opera...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <c>new</c> is a [[ | + | <c>new</c> is a [[:Category:Keywords|keyword]] unary [[operators|operator]] used to create a subclass or instance. It is part of MiniScript's support for [[object-oriented programming]]. |
<c>new</c> acts on a map, and returns a new map with [[__isa]] set to the operand. | <c>new</c> acts on a map, and returns a new map with [[__isa]] set to the operand. |
Latest revision as of 03:54, 24 January 2021
new
is a keyword unary operator used to create a subclass or instance. It is part of MiniScript's support for object-oriented programming.
new
acts on a map, and returns a new map with __isa set to the operand.
This article is a stub. You can help the MiniScript Wiki by expanding it.