Reply To: TCL lsearch with -all option

› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › TCL lsearch with -all option › Reply To: TCL lsearch with -all option

#57426
Ed Mastascusa
Participant

    all isn’t an allowable mode in lsearch

    tcl>lsearch -all

  • 3

    Error: bad search mode “-all”: must be -exact, -glob, or -regexp

    it might be easier to iterate through the list, do your AL1 check on each element and build the index list yourself – lsearch is only going to return the first element.