Writing Extensions
Mark Wieder
ahsoftware at sonic.net
Fri May 26 02:51:55 EDT 2017
On 05/25/2017 08:07 PM, JB via use-livecode wrote:
> Hi Mark,
>
> Your way is much better!
>
> I just started learning Java a few
> days ago so the reason I did it
> wrong was because I did not
> know what I was doing.
>
> THANK YOU!
Nothing wrong with your java code.
Your LC script was calling the java app without passing the arguments to
it, and then printing the arguments, so it looked like everything was
working.
Try changing the java code to this to see the difference:
System.out.println(args[i] + " is arg " + (i+1));
--
Mark Wieder
ahsoftware at gmail.com
More information about the use-livecode
mailing list