At 11:56 2016-11-22, Ted Roche <tedroche(a)gmail.com> wrote:
>VFP, unlike some languages, is intolerant of excess parameters. To catch this:
>
>1. Use error handling in the CALLING program, not the CALLED program
>with the Parameters statement, or
>
>2. Write a very tolerant program that accepts all of the parameters
>you can throw at it (varies by version) and throws an error after
>testing them with PCOUNT().
>
>(At one point, I know the number of parameters was 26, since that's
>the number of red playing cards in a standard deck. But I think that
>limit was raised in the most recent version, as your testing
>indicates.)
Point 1: this will not work for me since it is a *standalone* program.
As to point 2, the parameter limit is rather high. On my
system, it was 152! Above 40, I kept getting spurious "Source is out
of date" messages and had to explicitly compile my test
programs. This odd behaviour was consistent. I also had one case
where VFP insisted on holding onto the program, and I could not
delete it, even after clear program.
VFP is not perfect, but this one is embarrassing.
[snipped previous]
Sincerely,
Gene Wirchenko