Re: Hi, problem with building ABCL extension for MIT App Inventor

Vibhu Mohindra <[email protected]>
Newsgroups gmane.editors.j.devel
Message-ID <baf964a9-e481-dd84-8ef6-8be74d2870f7__44842.0092151084$1503740355$gmane$org@gmail.com>
On 24/08/2017 22:24, Tomislav Tomšić wrote:
>     Interpreter interpreter = Interpreter.createInstance();

Try,
    Interpreter.createInstance();
    Interpreter interpreter = Interpreter.getInstance();

If I remember correctly, createInstance() returns null if an instance
has already been created.

>     return lo.getStringValue();

Also,
    return lo.javaInstance();

may work better, unless you're sure that lo will always be a Lisp string.

Vibhu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.