The contents of the remainder of the string buffer are undetermined.
eg
Code:
FUNCTION Foo () AS LONG LOCAL sz AS ASCIIZ * 8 ' at entry, buffer contents are initialized to "<nul><nul><nul><nul><nul><nul><nul><nul>" sz = "12345" 'buffer contents are now "12345<nul><nul><nul>" sz = "A" 'buffer contents are now "A<nul>345<nul><nul><nul>"
Code:
RESET sz
Leave a comment: