General information
Category:
Coding, syntax & commands
Title:
'Cannot Access characters beyond string'
Hi,
This is concerning the error 'Cannot Access characters beyond string' and 'Set talk off/on'.
I realized that using substr functions like substr(alltrim("ABC "),4,1), with SET TALK ON gives the Program Error - 'Cannot Access characters beyond string'
But when Set Talk is OFF there are no errors and the above substr function returns an empty string. In my program, can, I just turn TALK OFF and thereby avoid the error? Would this be the right way to fix this problem? or do I need to verify the length of the strings and make sure that such substr functions are not executed?
Ria
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only