Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ddlm-group] Adding one more built-in function to dREL

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]