[Mathlib-develop] Dynamic Java
Status: Beta
Brought to you by:
st_mueller
|
From: mark <msp...@ya...> - 2003-08-06 19:52:52
|
Hi
I've added the Dynamic Java library to the program. This is a Java interp=
reter=20
so we can now run Java commands from JMathLib using the JAVA function.
There are three variables defined for use in Java commands
Interpreter
Console
Global
To print text to the console enter
JAVA('console.displayText("hello world";)')
hello world
ans =3D null
To access a JMathLib variable enter
x=3D5
JAVA('global.getVariable("x");')
ans =3D 5
Of course I want to improve that so you can access JMathLib Variables usi=
ng=20
just their name, and functions as well.
You can find out about DynamicJava at http://koala.ilog.fr/djava/
Best regards
Mark Sparshatt
|