- This topic has 4 replies, 3 voices, and was last updated 19 years ago by .
-
Topic
-
I am trying to search a list of segments and return the indices of all the AL1 segments in my message. I tried the following (and several variations) of the command but I keep getting an error message. I’m sure I just have the syntax wrong but I haven’t been able to figure it out. Command: set al1Locs [lsearch -regexp -all $segments {^AL1}]
Error Message: wrong # args: should be “lsearch ?mode? list pattern”
[/code]
Viewing 3 reply threads
Viewing 3 reply threads
- The forum ‘Cloverleaf’ is closed to new topics and replies.