Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Cannot Access characters beyond string'
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
'Cannot Access characters beyond string'
Miscellaneous
Thread ID:
00691223
Message ID:
00691223
Views:
44
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
Map
View

Click here to load this message in the networking platform