Cecil Westerhof <
Ce...@decebal.nl> wrote:
> stevel <
steve...@gmail.com> writes:
>
>> On Monday, 28 May 2018 15:28:05 UTC+8, Cecil Westerhof wrote:
>>>
>>> > I wanted to add a page to the WiKi, but I get:
>>> > reCAPTCHA V1 ID SHUTDOWN
>>> > Direct site owners to
g.co/recaptcha/upgrade
>>>
>>> I do not get this message anymore. But when clicking the button:
>>> create new page
>>>
>>> I just keep going back to the page to create a new page. So I still
>>> cannot create a new page. :'-(
>>
>> try again please
>
> It worked:
>
http://wiki.tcl.tk/55240
>
Small tip, foreach can iterate plural variables across a single list.
Your:
foreach {fizzBuzz} ${fizzBuzzLst} {
lassign ${fizzBuzz} value string
could be:
foreach {value string} $fizzBuzzLst} {
Also, for handling CLI arguments, you might want to look into Tcllib's
"cmdline" tool. In this case, since you are using positionals it does
not buy much. But with it you could have:
FizzBuzz --start 15 --end 25
if you wanted.