User Guide : Scripting : Script Statements : Declare Statement
 
Share this page                  
Declare Statement
 
Description
Reference a function or sub-routine in an external library (DLL or shared library)
Syntax
Declare Function publicname Lib "libname" [Alias "alias"] [([[ByVal] variable [As type] [,[ByVal] variable [As type]]...])] As Type
OR
Declare Subroutine publicname Lib "libname" [Alias "alias"] [([[ByVal] variable [As type] [,[ByVal] variable [As type]]...])]
Remarks
The Declare statement can be used to call external code as if it were an EZscript library artifact.