tcl Control Structures

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • if expr1 ?then? body1 elseif expr2 ?then? body2 ... ?else? ?bodyN?
  • for start test next body
  • while test body
  • foreach varlist1 list1 ?varlist2 list2 ...? body

Remarks

Documentation: break, for, foreach, if, switch, uplevel, while



Got any tcl Question?