Commit 3fdc5df
committed
Enable default parameter values in scripts
You can now write:
@int(value = 5) sigma
And the sigma variable will have a default value of 5 the first time
the script is run.
Nicer would be:
@int sigma = 5
But implementing that would be more involved, and so should probably
wait till script parameter parsing is truly fixed as described in #156.1 parent dfd2657 commit 3fdc5df
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
| 464 | + | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| |||
0 commit comments