Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: VFP does not check the parameters names
Message
De
15/06/2005 10:37:12
 
 
À
15/06/2005 09:31:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01023456
Message ID:
01023516
Vues:
12
>Didn't know what to expect <g>
>
>clea
>LOCAL lu1, lu2, lu3
>= p_init(@m.lu1, @m.lu2, @m.lu3)
>lu3 = test(m.lu1, m.lu2)
>? lu1, lu2, lu3
>
>= p_init(@m.lu1, @m.lu2, @m.lu3)
>lu3 = test(@m.lu1, m.lu2)
>? lu1, lu2, lu3
>
>= p_init(@m.lu1, @m.lu2, @m.lu3)
>lu3 = test(m.lu1, @m.lu2)
>? lu1, lu2, lu3
>
>= p_init(@m.lu1, @m.lu2, @m.lu3)
>lu3 = test(@m.lu1, @m.lu2)
>? lu1, lu2, lu3
>
>FUNCTION p_init(t1, t2, t3)
>t1 = "one"
>t2 = 2
>t3 = .f.
>
>* Expected : a compiler error at compile time
>FUNCTION test
>lparameters	p, p
>P = m.p
>RETURN m.p
agree,
You have the same result with:
FUNCTION test
lparameters	p, p
RETURN m.p
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform