@RM in insert (OpenInsight Specific)
At 23 FEB 2000 06:52:28AM Oystein Reigem wrote:
I have an insert containing a series of simple assignment statements, like
NorwegianLowerChars$=æøå"
NorwegianUpperChars$=ÆØÅ"
Delimiters$=@STM : @TM : @SVM : @VM : @FM : @RM
CastratedDelimiters$=uuuyÞy"
…etc…
I use that insert in several character conversion functions. In my app I use a couple of those character conversion functions on form data from the web. When receiving such data my app must neutralize characters that are delimiters in OI, e.g like converting ÿ=@RM to plain y. (An alternative would be to do the conversion in the form, with JavaScript, but like I said I do it in the app.)
Now I suddenly had problems converting the ÿ=@RM character. And checking with the debugger I found that the final character of the Delimiters$ variable was missing.
After fiddling about a little bit the problem went away by itself. What I did was just to repeat the Delimiters$= assignment statement in the conversion function itself, check with the debugger, remove the statement again and check once more. But even if I had reverted to the original version the problem didn't reappear.
Can this be explained? Can funny things like that happen with inserts?
- Oystein -