infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Tcl Library
putting message back together
Kevin Crist
I am having trouble putting this message back together. I have tried a few different ways but am lost. any help. thanks.
Find more posts tagged with
Clovertech
Comments
Keith McLeod
Remove the ^ from the join command.
set newLocation [join "$floor $room $bed" $subSep]
use lreplace
set newpv1list [lreplace $PV1List $PV1location $PV1location $newLocation]
rebuild PV1 segment
set newpv1 [join $newpv1list $fldSep]
Replace old pv1 with new
set newseglist [lreplace $segList PV1pos $PV1pos $newpv1]
set msg [join $newseglist r]
I think I have all the pieces....In essence, oyu need to build and replace in the opposite order you disassembled.....Hope this helps...
Kevin Crist
Thanks Kieth, worked like a charm and easy to understand.