I'm doing something wrong, but I don't know what. What I want is to pass an
array to a method.
/* test.nrx */
a = double[2] 0
a[0] = 25
a[1] = 39
b = test1()
b.calldouble(a)
/* test1.nrx */
class test1 public
method test1()
method calldouble(x=double[]) public
say x[0]
say x[1]
When compiling to java(OS/2, JDK 1.1.4) I get...
NetRexx portable processor, version 1.125
Copyright (c) IBM Corporation, 1998. All rights reserved.
Program test.nrx
9 +++ b.calldouble(a)
+++ ^^^^^^^^^^
+++ Error: The method 'calldouble(netrexx.lang.Rexx)' cannot be found in
class 'test1' or a superclass
Compilation of 'test.nrx' failed [one error]
Does anyone know why?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>