Call an object method: Difference between revisions
Content added Content deleted
(→{{header|TXR}}: A few notes.) |
|||
Line 1,174: | Line 1,174: | ||
print(box.count())</syntaxhighlight> |
print(box.count())</syntaxhighlight> |
||
=={{header|M2000 Interpreter}}== |
=={{header|M2000 Interpreter}}== |
||
In M2000 there are some kinds of objects. Group is |
In M2000 there are some kinds of objects. Group is an object. We can compose members to groups, with functions, operators, modules, events, and inner groups, among other members of type pointer to object. Another type is the COM type. Here we see the Group object |
||
<syntaxhighlight lang="m2000 interpreter"> |
<syntaxhighlight lang="m2000 interpreter"> |
||
Module CheckIt { |
Module CheckIt { |
||
Line 1,225: | Line 1,225: | ||
Checkit |
Checkit |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
=={{header|Maple}}== |
=={{header|Maple}}== |
||
There is no real difference in how you call a static or instance method. |
There is no real difference in how you call a static or instance method. |