- This topic has 3 replies, 4 voices, and was last updated 11 years, 6 months ago by .
-
Topic
-
Hi I am trying to create a TCL that loops through the insurance segments and checks for a certain insurance. I know I need to use a for loop but I am unable to write it.
This is what I have so far.
set msg [msgget $mh]
set segments [split $msg r]
This is where I can’t figure out. I am doing the following for my loop
set seg1 $segments
foreach segment $seg{
if {[cequal [crange $seg1 0 2]IN1]} {
lappend seg $segment
}
}
Thank you for your help
Yamil
Viewing 2 reply threads
Viewing 2 reply threads
- The forum ‘Cloverleaf’ is closed to new topics and replies.