Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Declare statement ====== ==== Description ==== Informs the compiler of external functions and subroutines. ==== Syntax ==== **Declare** Function Subroutine //name// [ , //name// ...] ==== Parameters ==== The Declare statement accepts the following parameters. ^Parameter^Description^ |Function or Subroutine|The Function or Subroutine keywords identify //name// as the name of a function or subroutine.| |//name//|The name of a function or subroutine. Multiple functions or subroutines may be declared by placing a comma between the names.| \\ \\ \\ The Declare statement specifies OpenInsight stored procedures and DLL functions that can be called by a BASIC+ script. The Declare statement is used to both inform the BASIC+ compiler of external references and to help document source code by listing used subroutines and functions.| ==== See Also ==== [[call|Call]], [[function_statement|Function]], [[return|Return]], [[subroutine|Subroutine]] ==== Example ==== <code> Declare subroutine Set_Property Declare function Get_Property Title=Get_Property (@window, "TEXT") Set_Property (@window, "TEXT", Title: " - New Entry") </code> guides/programming/programmers_reference_manual/declare.txt Last modified: 2024/06/19 20:20by 127.0.0.1