Equinox Online Help - Language Reference - A to Z
Public |
|
---|---|
Applies to | |
Syntax | Public Declaration |
Action | [Statement] Specifies that a procedure or DLL function declaration is public. |
Scope | Only usable in public procedure libraries. |
Notes | This keyword appears before a procedure or DLL function declaration, to declare it as public. Public procedures and DLL functions can be accessed from any part of Equinox, at any time. Note that you must define public procedures/ DLL functions using the Public Procedure editor. |
Category | Declarations |
See Also | Date, Define, Logical, Memo, Number, Procedure_EndProcedure, Radio, String, Timer |
Example | The following example is similar to the one given for the Procedure statement. A procedure is used to display a standard message. if AssetNumber <> 0 thenExit MethodelseTestIfEmpty | Procedure callend if In this case, the TestIfEmpty procedure is defined in a public procedure library: public procedure TestIfEmptyAlert "Please supply a value"end procedure | TestIfEmpty |