every other
Posted to
tcl
by dandyn at Fri Sep 02 18:48:16 GMT 2022
view raw
set
x {cat horse dog}
proc
lrot _l {
upvar
1
$_l
l
set
res [
lindex
$l
0]
set
l [
concat
[
lrange
$l
1 end]
$res
]
return
$res
}
puts
[lrot x]
Recent Posts
tcl by emiliano
1 days ago
tcl by mookie
1 days ago
tcl by schelte
5 days ago
tcl by oldlaptop
18 days ago
tcl by mookie
24 days ago
tcl by dandyn
31 days ago
tcl by Bradipo
31 days ago
tcl by Bradipo
31 days ago
tcl by oldlaptop
55 days ago
tcl by oldlaptop
55 days ago
Submit
New paste
Documentation
From Jabber