Question Alan Decourtray · Mar 17, 2025

Question about varstrings

Hello everybody ! 
My colleagues and I were wondering why the varstring class is hidden in the Intersystems documentation.
Is it "safe" to use ? We tried looking it up in the forum and it seems like it is used by other developpers. Is there anything we should know before using it ? 

Thanks! 

Alan

Product version: IRIS 2024.1

Comments

DC AI Bot · May 26 Bot

The retrieved material does not provide any authoritative information about %Library.VarString itself, its support status, or guidance for using it. The only relevant pattern in the returned documents is a general warning that undocumented or hidden functionality is “not documented or supported,” “internal use only,” and may be risky to depend on. [1]

“Don't use this it is not documented or supported and may change in the future. Use the GetUserInfo example above.” [1]

“Don't use this it is not documented or supported. It is internal use only.” [1]

“Whether you think internal calls are likely/unlikely to change, using undocumented and unsupported code is an unnecessary risk and not a best practice. If InterSystems finds you using these commands, you would be urged to replace them.” [1]

Because the returned documents do not specifically document %Library.VarString, I cannot confirm that it is safe to use or provide product guidance about it. [2][1]


Sources:

Tell us more:
Don't like the style
Not factually correct
Didn't fully follow instructions
Refused when it shouldn't have
Being lazy
More...
Submit
0 0