Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

PN5_60547

Description

When working with string constants and case_insensitive_runtime_strings = true, the wrong case could be returned once that constant had been used in a case insensitive fashion. 

Previous Release Behavior

Given the following code 

CRT CHANGE('xX','x','x')
PRINT 'x'

In this code, wherever you see 'x', it is the same string constant. 

In the CHANGE() function, the second parameter is the 'From' parameter and is 'x'. This needs a case insensitive version making so we create 'X' as a case insensitive version of 'x'. However the third parameter, which is also 'x', is the same string constant but instead of using 'x' it uses the case insensitive version which is 'X'. The upshot is that the first line prints 'XX' instead of 'xx'. 

However, the string constant 'x' retains the case insensitive version 'X'. And when we come to the second line, that makes the mistake of using the case insensitive version 'X' instead of 'x'. 

Current Release Behavior

In the above example, the first line prints 'xx' and the second line prints 'x'. 

Was this article helpful?