Declare a command implemented in an external library. Note that library and the command implemented in it should be specifically written for ScriptBasic. This command is not able to declare and call just any library function.
The arguments are similar to that of the command DECLARE SUB and the same restrictions and conditions apply. Look at the documentation of the command DECLARESUB.