Horje
Tcl get part of list Code Example
Tcl get part of list
% Make Arbitrary List
set ListA {10 20 30 40 50 60};
puts $ListA;

% Select Range of values based on index positions: (N.B. First element of list has index 0)
set start_index 2; 		% Select Start Index (2 Corresponds to 3rd item in list)
set end_index 5; 		% Select End Index 	(5 Corresponds to 6th ithem in list)

% SPlit List
set ListA_Part [lrange $ListA $start_index $end_index];
puts $ListA_Part
Source: www.tcl.tk




Whatever

Related
How to build smaller and secure Docker Images for .NET5 Code Example How to build smaller and secure Docker Images for .NET5 Code Example
What is rrsp Code Example What is rrsp Code Example
roburoblok.gr Code Example roburoblok.gr Code Example
adobe premiere reset to default Code Example adobe premiere reset to default Code Example
host must conform to dns 952 subdomain conventions Code Example host must conform to dns 952 subdomain conventions Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7