Abstract type: Difference between revisions

m
Line 1,644:
=={{header|M2000 Interpreter}}==
M2000 not use interfaces, but can combine groups (used as objects), and because we can alter definitions, we can make an Abstract group by implement modules and functions with a call to Error "not implement yet"
<lang M2000 Interpreter>Class BaseState {
Private:
      x as double=1212, z1 as currency=1000, k$="ok"
Line 1,706:
      \\ we can use For Object {} and a dot before members to get access
      Print .z=1050.12, ExpType$(.z), Type$(.z) ' true, Currency, Group
}</lang>
}
</lang>
 
=={{header|Mathematica}}/{{header|Wolfram Language}}==
7,794

edits