David J Murray Dev
~ Learn and Do - Excel and Share ~

STRING.MATH functionality

Aug 26, 2006
You're Reading: STRING.MATH functionality

A post in MVDBS & SOA & UniVerse & UniVerse SOA

I got thinking about the STRING.MATH functionality within SB+.

What can be done with it? It is useful?

Well, it is designed to interface into the ACCUMATH software package calls (from the documentation within the STRING.MATH routine/template).

Can it be used for anything else?

Yes, it can. UniVerse does have string maths built in, so it could be implemented via this function and could also be useful for performing advanced analysis.

So, what does this MATH expression element do? Not much actually. SB+ converts the PARAGRAPH expression:

RESULT = MATH(expression1, operation, expression2)

into the equivilant UniBasic:

CALL STRING.MATH(expression1, operation, expression2)

Therefore, expressions 1 & 2 can be anything and so can the operation. The routine STRING.MATH routine would do a IF/THEN or CASE on the operation parameter, where the real work is done.

An example is in the DMSKELCODE file as STRING.MATH.

I may use this for simulating some MS-Excel advanced functions for data analysis. Fun Ho!


About the Author

<a href="https://davidjmurray.dev/losucag/davidjmurray/" target="_self">djm</a>


I have been in the computer/IT industry for over 35 years. After spending half a life-time in highly proprietary database environments, I have succumbed to the WordPress Eco-system and I'm well down the chasm. I am specializing in AWS hosting, Wordpress CMS, Elegant Themes, in particular Divi and Extra themes.


Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest

Share This