![]() | Products |
| Home » Technical Support » Elevate Web Builder Technical Support » Product Manuals » Elevate Web Builder 3 Manual » Language Reference » Type Declarations |
<Type Declaration> | <Function/Procedure Type Declaration> | <Method Type Declaration> | <Class Declaration>;
[<Type Declaration> | <Function/Procedure Type Declaration> | <Method Type Declaration> | <Class Declaration>;]
<Type Declaration> =
<Synonym Type Name> = [type] <Type Name>;
<Function/Procedure Type Declaration> =
<Function/Procedure Type Name> = function|procedure ([<Parameters>])[: <Type Name>];
<Method Type Declaration> =
<Method Type Name> = function|procedure ([<Parameters>])[: <Type Name>] of object;
<Class Declaration> =
<Class Name> = class [(<Ancestor Class Name>)]
[<Private Class Members>]
[<Protected Class Members>]
[<Public Class Members>]
end;TColor = type Integer;
type TFuncRef = function (Value: Integer): Integer; // Returns an integer implementation function DoSomething(Value: Integer): Boolean; // Returns a boolean begin Result:=(Value=100); end; procedure DoSomethingElse; var FuncRef: TFuncRef; begin FuncRef:=DoSomething; // This will cause a compiler error !!!! ShowMessage(IntToStr(FuncRef(100))); end;
This web page was last updated on Tuesday, September 16, 2025 at 04:56 PM | Privacy Policy © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? |

