skilk Posted August 2, 2005 Report Share Posted August 2, 2005 Как правильно объявить процедуру или функции, если не трудно, то с фрагментами кода на Delphi. Quote Link to comment Share on other sites More sharing options...
Darhazer Posted August 2, 2005 Report Share Posted August 2, 2005 procedura Имя(параметер: тип);function Имя(параметер: тип):тип; Вот реальний код: procedure TEnemy.Make(tx,ty:GLFloat);begin// метод класа TEnemy.end; function TTank.CheckCollision:boolean;var i:integer;sourcex, sourcey, targetx,targety: GLFloat;width, height: GLFloat;begin// метод класа TTankend; Quote Link to comment Share on other sites More sharing options...
skilk Posted August 3, 2005 Author Report Share Posted August 3, 2005 Спасибо!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.