Last active
March 2, 2018 07:26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{Метод конструктор Create класс TBar} | |
constructor TBar.Create(a, b, c: word; Ro: real) ; | |
begin | |
inherited Create(a, b, c) ; | |
FRo:=Ro; | |
end; | |
{Метод massa} | |
function TBar.massa: real; | |
begin | |
result:=FRo*Volume; | |
end; | |
procedure TBar.Show; | |
begin | |
ShowMessage(... ); | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment