double <-> Rexx

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

double <-> Rexx

Andreas Zieritz-2
I've got an error when compiling, does someone know why?

/* test.nrx */

a = double 0
say math.abs(a+1)

NetRexx portable processor, version 1.132
Copyright (c) IBM Corporation, 1998.  All rights reserved.
Program test.nrx
 5 +++ say math.abs(a+1)
   +++          ^^^
   +++ Error: More than one method matches the name and signature
'java.lang.Math.abs(netrexx.lang.Rexx)'
Compilation of 'test.nrx' failed [one error]


The calculation '+1' resultes in a 'Rexx'-string, but 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>