This content has been marked as final. Show 4 replies
This thread is pretty old, but this is exactly what I am trying to do as well.
would from Lingo, but with a semicolon at the end.
on doSomething me
put "this is a Lingo command"
When you call the JSTest() function, it will run the doSomething()
handler which will put some text into the message window.
Thank you very much for the response. I had a variable scope problem making this more challenging than it should have been.
Works like a charm now.
1) Create a Lingo global method like so:
on evalLingo sCode
-- This opens the legacy Lingo interpreter
return do("return " & sCode)
result = evalLingo("the platform");