There are few commands (lists) which make tcl very flexible to use. I was hoping if some of them already exist in custom skill or some one can write those commands in skill. those tcl commands I want in skill are...
lrange list i j Returns the i th through j th elements from list.
linsert list index arg arg .. Insert elements into list before the element at position index. Returns a new list.
lreplace list i j arg arg ... Replace elements i through j of list with the args. Returns a new list.
lsearch mode list value Return the index of the element in list that matches the value according to the mode, which is -exact, -glob, or -regexp. -glob is the default. Return -1 if not found.
lsort switches list Sort elements of the list according to the switches: -ascii, -integer, -real, -increasing, -decreasing, -command command. Returns a new list.
Hope some one can tell me if there are any skill equivalent of the above or any functions that can be written.
ASIC Engr.Originally posted in cdnusers.org by rimser9