Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'Cannot Access characters beyond string'
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
'Cannot Access characters beyond string'
Divers
Thread ID:
00691223
Message ID:
00691223
Vues:
45
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform