Abstract type: Difference between revisions
→{{header|OxygenBasic}}
Thundergnat (talk | contribs) m (Tweak irregular header markup) |
|||
Line 2,303:
<pre>
'ABSTRACT
'PARTICLES
type position {}
type angle {}
type velocity {}
type mass {}
type counter {}
method constructor(sys n=1)▼
method destructor()▼
end macro▼
type particle
position p
angle a
velocity v
mass m
class particles
particle*q
counter c
▲ method destructor (){}
method action (){}
end class
</pre>
|