-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FORMAT function is non-standard #43
Comments
Hello from https://github.com/adesutherland/CMS-370-BREXX ! Format is one of the built in functions which fails most terribly in our test suite - and I am thinking of porting Regina's implementation to BREXX (which may mean making a new maths implementation too ... troublesome but probably also a good thing). Is this a sub-project that we can jointly look at? |
Hello Adrian, we can definitely imagine working together. It doesn't make much sense to develop everything two or three times. Mike |
With a test case supplied by Walter Pachl, the difference between BREXX on MVS and CMS can be shown:
output on MVSTK5:
output on VM/370CE:
expected output:
|
The BRexx/370 FORMAT function, by definition under the Math functions documentation, is not the standard version of the Rexx FORMAT Built-in-Function as demonstrated in the BRexx documentation on FORMAT():
I recommend for Rexx platform portability’s sake, that eventually, we do like what was done with the STORAGE() BiF, re-establishing the current FORMAT() BiF as BFORMAT and implementing the FORMAT() BiF as a Rexx standard FORMAT() BiF. I believe that I ran across a RexxFormat() external function somewhere that looked like it might fit the bill and provide the standard Rexx FORMAT() BiF functionality.
Oh yes, I did find it in the BRexx distribution, a RxLib external function called RexxFormat(). However, it is not fully flushed out and is not operational at this time. It’s probably 70% complete and eventually could become the standard (although external) version of the FORMAT() function for BRexx/370 with not too significant of an effort ...
The text was updated successfully, but these errors were encountered: