You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could be used as a compact alternative to the following compound foreach construct:
foreach feature [$shp coord read] record [$shp attr read] {
# process feature and record
}
The [read] method would return a two-element list containing the coordinate list and the attribute record. With no index argument, these lists would include all entities; with an index argument, they would be the coordinate and attribute data of the specified index.
foreach {feature record} [$shp read] {
# process feature and record
}
The text was updated successfully, but these errors were encountered:
Could be used as a compact alternative to the following compound
foreach
construct:The
[read]
method would return a two-element list containing the coordinate list and the attribute record. With no index argument, these lists would include all entities; with an index argument, they would be the coordinate and attribute data of the specified index.The text was updated successfully, but these errors were encountered: