Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel VB Language Reference > Methods Reference for Siebel VB > Code Setup and Control Methods > Declare Procedure MethodThe Declare Procedure method declares a procedure in a module or in a dynamic link library (DLL). The value it returns depends on one of the following formats that you use:
For more information about the format and arguments that you can use with this method, see Declaring a Procedure. Format ADeclare Sub name [(argument [As type])] Format BDeclare Function name [(argument [As type])] [As funcType] ArgumentsThe following table describes the arguments that you can use with this method.
ExampleThe following example declares a function that the main subroutine subsequently calls. This function only sets the return value to 1: (general) (declarations) Function SVB_exfunction() Sub Button_Click For other examples of functions, see Create Function Method and Go To Statement. Related TopicsCreate Function Method |
![]() ![]() |
Siebel VB Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |