Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subscript
Message
De
12/11/2021 15:09:25
 
 
À
12/11/2021 11:18:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01682701
Message ID:
01682716
Vues:
49
IF ALEN(aDV, 1) = 0
    FOR nIdx = 1 TO nCFldCnt
        nField = cCFlds[nIdx]
        IF aDV[nField]==["]  && wgcs
            * Remove surrounding quotes

            aDV[nField] = SUBSTR( aDV[nField], 2, LEN(aDV[nField])-2 )  && wgcs
        ENDIF
    ENDFOR
ENDIF
You're retrieving value nField from array cCFlds (the value I presume is numeric) -- are you absolutely sure that the value you're obtaining isn't less than 1 or is greater than the size of the array aDV ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform