Package | Description |
---|---|
com.scriptbasic | |
com.scriptbasic.interfaces |
Modifier and Type | Method and Description |
---|---|
Object |
Engine.Sub.call() |
Object |
Engine.Sub.call(Object... args) |
Object |
Engine.call(String subroutineName,
Object... args) |
void |
Engine.eval(File sourceFile) |
void |
Engine.eval(Reader reader) |
void |
Engine.eval(String sourceCode) |
void |
Engine.eval(String sourceFileName,
SourcePath path) |
void |
Engine.eval(String sourceName,
SourceProvider provider) |
void |
Engine.eval(String sourceFileName,
String... path) |
void |
Engine.execute() |
int |
Engine.getNumberOfArguments(String subroutineName) |
Subroutine |
Engine.getSubroutine(String subroutineName) |
Object |
Engine.getVariable(String name) |
void |
Engine.load(File sourceFile) |
void |
Engine.load(Reader reader) |
void |
Engine.load(String sourceCode) |
void |
Engine.load(String sourceFileName,
SourcePath path) |
void |
Engine.load(String sourceName,
SourceProvider provider) |
void |
Engine.load(String sourceFileName,
String... path) |
void |
Engine.registerExtension(Class<?> klass) |
void |
Engine.setVariable(String name,
Object value) |
Modifier and Type | Method and Description |
---|---|
Object |
Subroutine.call()
Call a subroutine without any argument.
|
Object |
Subroutine.call(Object... args)
Call the subroutine.
|
Object |
EngineApi.call(String subroutineName,
Object... args)
Deprecated.
|
void |
EngineApi.eval(File sourceFile)
Evaluate the content of a file.
|
void |
EngineApi.eval(Reader reader)
Read the content of a stream provided by the reader and interpret this as
a BASIC program.
|
void |
EngineApi.eval(String sourceCode)
Evaluate a string as a BASIC program.
|
void |
EngineApi.eval(String sourceFileName,
SourcePath path)
Read the content of the file and execute it.
|
void |
EngineApi.eval(String sourceName,
SourceProvider provider)
Read the content of the source from the file, db...
|
void |
EngineApi.eval(String sourceFileName,
String... path)
Read the content of the file and execute it.
|
void |
EngineApi.execute()
Execute a previously loaded code.
|
int |
EngineApi.getNumberOfArguments(String subroutineName)
Deprecated.
|
Subroutine |
EngineApi.getSubroutine(String subroutineName)
Get the subroutine object of a named subroutine.
|
Object |
EngineApi.getVariable(String name)
Get the value of a global variable after the BASIC program was executed.
|
void |
EngineApi.load(File sourceFile)
Evaluate the content of a file.
|
void |
EngineApi.load(Reader reader)
Read the content of a stream provided by the reader and interpret this as
a BASIC program.
|
void |
EngineApi.load(String sourceCode)
Load a string as a BASIC program.
|
void |
EngineApi.load(String sourceFileName,
SourcePath path)
Read the content of the file and execute it.
|
void |
EngineApi.load(String sourceName,
SourceProvider provider)
Read the content of the source from the file, db...
|
void |
EngineApi.load(String sourceFileName,
String... path)
Read the content of the file and execute it.
|
void |
EngineApi.registerExtension(Class<?> klass)
Register the static methods of the class as BASIC functions.
|
void |
EngineApi.setVariable(String name,
Object value)
Set the value of a global variable of the BASIC program.
|
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.