See this example where I write beyond the end of a string but cannot read back those characters (I see garbage instead).
Code: Select all
Structure String5
s.s{5}
EndStructure
a.String5
a\s="abcdefghij"
Debug PeekS(@a\s+5,5) ;/ Initial garbage visible
Debug a\s
Debug PeekS(@a\s+5,5) ;/ The same garbage is visible (no string characters)