Library /sys$common/syshlp/dbg$help.hlb DEBUG, Language Support, SCAN, Examining and Depositing, STRING Variables *Conan The Librarian (sorry for the slow response - running on an old VAX) |
If you deposit into a FIXED STRING variable, truncation will occur if the deposited string is longer than the size established by the declaration of that variable. If you deposit into a VARYING STRING variable, truncation will occur if the deposited string is longer than the maximum size established by the declaration of that variable. If you deposit into a DYNAMIC STRING variable, truncation will occur if the deposited string is longer than the current size of the variable. With FIXED and DYNAMIC STRING variables, if the deposited string is shorter than the current size of the variable, the unfilled portion of the variable will be blank padded to the right, with the new string left justified in the variable. In the case of VARYING STRING variables, the current size of the variable storage space will be adjusted to the size of the deposited string.
|