Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access characters beyond string
Message
From
19/08/2002 11:19:49
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00690484
Message ID:
00691059
Views:
23
Hi Ria.

>Can someone give me more information on this error message please, like when can this occur?
>Cannot access characters beyond string (Error 62)

One cause of this error is accessing a character beyond the end of the string when you have TALK set on in VFP 6 or earlier (at least I think they fixed it in VFP 7). For example:
set talk on
x = 'abcde'
? substr(x, 12, 1)
The solution in this case is to SET TALK OFF.

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform