>There's a limit on the size of VFP string variable - 16,777,184 bytes. You can create longer variable but string function will generate an error.
>
lnMax = 16777184
>? ALLTRIM(PADr(m.ln, lnMax))
>? ALLTRIM(PADr(m.ln, lnMax+1))
>
Check
http://fox.wikis.com/wc.dll?Wiki~StringLength>
Thanks, Sergey. This is what I figured. Just thought, it should be explicitly mentioned in the documentation to these functions.
If it's not broken, fix it until it is.
My Blog