Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Coding, syntax & commands
>Pretend this is theoretical... <g>
>
>I have two exact-named functions in a PRG. A call at the top of the program will run the 2nd one, not the first, which I thought would be the logical choice. Anyone know why? Is this always the case?
the functions are inserted into a internal array in a LIFO order ( it is a stack ).
When VFP search a function it scan this stack,
then the last it is the first that VFP found and then use it.
A side effect:
the functions that are to the end of a PRG are those calls more quickly.
Fabio
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only