public interface Subroutine
ScriptBasic.getSubroutine(String). It is
also possible to get all the subroutines calling the method ScriptBasic.getSubroutines().| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
call() |
Call a subroutine without any argument.
|
java.lang.Object |
call(java.lang.Object... args) |
Call the subroutine.
|
java.lang.String |
getName() |
Get the name of the subroutine.
|
int |
getNumberOfArguments() |
int getNumberOfArguments()
java.lang.String getName()
java.lang.Object call(java.lang.Object... args)
throws ScriptBasicException
args - the arguments passed to the subroutineScriptBasicException - when an BASIC error happens during the execution of the
subroutinejava.lang.Object call()
throws ScriptBasicException
ScriptBasicExceptionCopyright © 2017 Verhas and Verhas Software Craftsmen. All Rights Reserved.