Reply To: TCL lsearch with -all option

Homepage 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.

  • Forum Statistics

    Registered Users
    5,117
    Forums
    28
    Topics
    9,292
    Replies
    34,435
    Topic Tags
    286
    Empty Topic Tags
    10