Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: VFP does not check the parameters names
Message
From
15/06/2005 10:37:12
 
 
To
15/06/2005 09:31:23
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01023456
Message ID:
01023516
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform