Yes .. Java requires that there be a static 'main' method that takes
an array of Strings (one word per String, C-style). NetRexx provides
that automatically for you only when it also provides the CLASS
instruction (as in hello.nrx).
Something like this is probably what you want:
method main(argstrings=String[]) static
argv=Rexx(argstrings)
(the second line constructs a single Rexx string from the array with
a blank between each word).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mike Cowlishaw, IBM Fellow, IBM UK Laboratories
mailto:
[hidden email] [
http://www2.hursley.ibm.com]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>