As/fi
Deutsch · English · Español · Français · Suomi
As
Varattua sanaa as käytetään eksplisiittisessä tyyppimuunnoksessa (cast) (käytä yhtä muuttujatyyppiä kuin jos se olisi toinen tyyppi)
procedure TmainForm.selectionGridDrawColumnCell(Sender: TObject; const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState);
begin
(Sender As TDBGrid).DefaultDrawColumnCell(Rect,DataCol,Column,State);
end;tässä TObject-tyypin Sender-muuttuja tyyppimuunnetaan TDBGrid-tyypiksi. As on Object Pascal:n ja Delphin-laajennus.
From the Free Pascal wiki, page "As/fi", as it stood on 2022-08-06 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.