Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- proc iterint {start points} {
- # Return a list of increasing integers starting with start with
- # length points
- set count 0
- set intlist [list]
- while {$count < $points} {
- lappend intlist [expr $start + $count]
- incr count
- }
- return $intlist
- }
Add Comment
Please, Sign In to add comment