Anonymous user
Loops/Continue: Difference between revisions
→{{header|Tcl}}: add Transact-SQL
PatGarrett (talk | contribs) (→{{header|Simula}}: Section added) |
(→{{header|Tcl}}: add Transact-SQL) |
||
Line 1,677:
6, 7, 8, 9, 10
</pre>
=={{header|Transact-SQL}}==
<lang Transact-SQL>
DECLARE @i INT = 0;
DECLARE @str VarChar(40) = '';
WHILE @i<10
BEGIN
SET @i = @i + 1;
SET @str = @str + CONVERT(varchar(2),@i);
IF @i % 5 = 0
BEGIN
PRINT @str;
SET @str =''
CONTINUE;
END
SET @str = @str +', ';
END;
</lang>
=={{header|Tcl}}==
|