Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rexx rxmath libary - including error

Status
Not open for further replies.

Eid

Programmer
Dec 19, 2011
1
LT
Hello guys,

I've been doing a simple job for my lectures, it worked fined yesterday at my home PC, but now the rxmath libary does something strange. I'm using the newest ooRexx. I found some manuals that encouraged me to change to ::requires, but it still doesn't function properly. Drops out an error:

Code:
E:\galdarbas>rexx nd2.cmd
Error 20 running "E:\galdarbas\nd2.cmd", line 43: Name expected
Error 20.1: Name required; found ":" // this shows to the ::require ..... //
Code:
call rxfuncadd "MathLoadFuncs", "rxmath", "MathLoadFuncs"
d=((b*b)-(4*a*c))
saknis=RxCalcSqrt(d)
::requires 'rxmath' LIBRARY

B,A,C are pulled before. Windows PATH is set to the current directory(it has rxmath.dll) and to orexx also has the DLLs.

The whole script is here:

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top