We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
This is almost certainly going to turn out to be related to expansion.
Consider this program, to print a string five times:
repeat 5 { puts " * " }
Works just fine:
$ ./critical newline.tcl * * * * * Result: *
Now remove the spaces:
repeat 5 { puts "*" }
And suddenly:
frodo ~/critical $ ./critical err.tcl * * * * * Error running program:function argument mismatch, * takes 2 arguments, 0 supplied
Replacing * with +, or similar, produces the same error message.
*
+
The text was updated successfully, but these errors were encountered:
Edit - This is caused by the way the return-value is handled from our repeat/for methods and is a simple fix :)
repeat
for
Sorry, something went wrong.
Correctly quote the return value from our proc
f81a135
This stops them being interpreted as commands to execute in some cases - which closes #29.
skx
Successfully merging a pull request may close this issue.
This is almost certainly going to turn out to be related to expansion.
Consider this program, to print a string five times:
Works just fine:
Now remove the spaces:
And suddenly:
Replacing
*
with+
, or similar, produces the same error message.The text was updated successfully, but these errors were encountered: