I am writing an application in a language that will remain nameless *g*.
But it interfaces with a console based Java app and I have a problem. The
main program (not written in Java) calls the Java program as an external
program. The Java program does it's thing then SHOULD return a string to
the calling program. Problem is, it doesn't. I could be going about this
all wrong though so could someone please point me in the right direction.
Here is what I am doing with my Java program:

1: The calling program is passing 1 argument to the program when it calls
it.

2: The Java program is retreiving information based on the argument value
passed to it.

3: The Java program SHOULD return a string to the calling program.

Can't I return my string to my calling prgram using standard System.out.println?
If not, how do I do it?

Thanks,
Anthony