Hello Erich,
I must apologize for not moving to object oriented Rexx, yet. I put
your code into a file (e.g. charoutest.rex) and got the following
errors:
09/12/2022 10:55:47.66 D:\Users\Bertr\Programming>charoutest
*-* Compiled method UNKNOWN with scope "String"
9 *-* say e m s~description s~charOut(""~left(m))
s~description, s~chars (s~chars == m)~?("Ok", "delta" m -
s~chars)
Error 97 running D:\Users\Bertr\Programming\charoutest.rex line 9:
Object method not found
Error 97.1: Object "1" does not understand message "?"
The code in the charoutest.rex file is:
numeric digits 18
f = .File~new("TstCharOutLarge")
s = .Stream~new(f)
do e = 1 to 9
m = 5 * 10 ** e
s~open("write replace")
say e m s~description s~charOut(""~left(m)) s~description,
s~chars (s~chars == m)~?("Ok", "delta" m - s~chars)
s~close
end
Line 9 is: say e m s~description s~charOut(""~left(m)) s~description,
Line 10 is: s~chars (s~chars == m)~?("Ok", "delta" m - s~chars)
What did I do wrong?
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users