Changeset 6436
- Timestamp:
- Jul 22, 2016, 9:20:50 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/map.tcl
r6413 r6436 1278 1278 #puts stderr "block: \"$block\"" 1279 1279 set lines [split $block ";"] 1280 array unset styleArray 1280 1281 foreach line $lines { 1281 1282 set line [string trim $line] … … 1285 1286 set prop [string trim [string range $line 0 [expr {$delim-1}]]] 1286 1287 set val [string trim [string range $line [expr {$delim+1}] end]] 1287 set ${styleName}($prop) $val1288 } 1289 lappend styles $styleName [array get $styleName]1288 set styleArray($prop) $val 1289 } 1290 lappend styles $styleName [array get styleArray] 1290 1291 } 1291 1292 return $styles
Note: See TracChangeset
for help on using the changeset viewer.