The SetAppVar procedure in RPG dynamically seems to determine the type of the app variable. This can be problematic if you just want to store a string as-is. Calling
will end up being stored in the app var as just
This can often be worked around by either setting the app var from a JavaScript script or linking to form value to preserve the exact original text, but it would be nice to have an option for the SetAppVar in RPG to treat it as a char. Something like:
SetAppVar('comment' : '1.0')
1
SetAppVar('comment' : '1.0' : 'char')

Comment