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

Semicolon strangeness

Oct 3, 2007

Image by Chaos07 from Pixabay

I wanted to replace a semicolon (“;”) within a string with a value mark using the paragraph process within SB+ Server.

It is not actually possible to use a “;” within a paragraph. It returns with an ‘error in expression’ error message.

As a test, I created a simple TEST paragraph with:


@VALUE = “;”

and the same error message is returned.

This is in SB+ Server PE 5.4.1.4022 on UniVerse PE 10.2.0 on Linux, Pick Format account.

One of the more weird ones…

Update:

I posted this into the Sbsolutions forum at u2ug.org. I go back a number of responses, all recommending to use the CHAR(59) solution (which I had already done), but no one considered it a bug as such.

It is due to the semicolon being the multiple statement separator within a line and there is some bad code within the SB+ paragraph interpreter getting confused. The UniBasic interpreter/compiler does not have this problem…

About the Author

<a href="https://davidjmurray.org/author/davidjmurray/" target="_self">djm</a>

djm

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.

0 Comments

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