[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
[ddlm-group] Adding one more built-in function to dREL
- To: ddlm-group <ddlm-group@iucr.org>
- Subject: [ddlm-group] Adding one more built-in function to dREL
- From: James H <jamesrhester@gmail.com>
- Date: Wed, 11 May 2022 12:56:59 +1000
Dear DDLm + dREL experts, Just a note that I would like to expand the list of dREL built-infunctions to include the following function: indexin(list, value): return the first position of 'value' in 'list',returning -1 if not found. Positions count from 0 (in keeping withother built-in functions). I've found this can significantly improve the efficiency of "categorymethods", where whole columns of values can be assembled and sometimesthe location of particular values in a list needs to be found. Let me know if you have any objections. thanks,James.-- T +61 (02) 9717 9907F +61 (02) 9717 3145M +61 (04) 0249 4148_______________________________________________ddlm-group mailing listddlm-group@iucr.orghttp://mailman.iucr.org/cgi-bin/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- Follow-Ups:
- Re: [ddlm-group] Adding one more built-in function to dREL (Bollinger, John C)
- Prev by Date: Re: [ddlm-group] Multi block principles
- Next by Date: Re: [ddlm-group] Adding one more built-in function to dREL
- Prev by thread: Re: [ddlm-group] Minor change to DateTime DDLm type
- Next by thread: Re: [ddlm-group] Adding one more built-in function to dREL
- Index(es):