Description

Informs the compiler of external functions and subroutines.

Syntax

Declare Function | Subroutine name [ , name ...]

Parameters

The Declare statement accepts the following parameters.

ParameterDescription
Function or SubroutineThe Function or Subroutine keywords identify name as the name of a function or subroutine.
nameThe 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

CallFunctionReturnSubroutine

Remarks

Declare subroutine Set_Property
Declare function Get_Property
Title=Get_Property (@window, "TEXT")
Set_Property (@window, "TEXT", Title: " - New Entry")