Wrap one to look like the other  :)

On Tue, 15 Nov 2016 10:26:47 +1100, David Adams wrote:
> For those of you that pass parameters, order can matter. It's been, what,
> 30 years now I've been using 4D (!)  and I *still* have to double-check
> Position and Find in array
> 
> Position(Needle;Haystack)
> Find in array(Haystack;Needle)
> 
> So, just thinking, be kind to yourself...find a pattern and follow it. I
> end up going back from time to time and reworking parameter lists in
> related code to keep arguments the same or at least in the same order.
> Granted, sometimes you don't have the same list of parameters, but at least
> keeping chains in the same order is a help.
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to