At 11:56 2016-11-22, Ted Roche <[email protected]> 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
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/a5a681ba8cac81472d7481770737a854@mtlp000086
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.