On Tuesday, 4 October 2016 at 13:16:35 UTC, Adam D. Ruppe wrote:
I'd put your repeated variables together in a struct, then pass
it around to the functions. At least then you pass just one
param at a time, without losing the info.
That's not a bad idea.
I have been creating "ids" to point to m
I'd put your repeated variables together in a struct, then pass
it around to the functions. At least then you pass just one param
at a time, without losing the info.
Howdy folks
This might be a really stupid question, but ya know, if you don't
ask ...
So, anytime I am calling a function, I have to include everything
that the function needs all the time. My simplistic example is:
#!/usr/bin/rdmd
import std.stdio;
void test(string firstinput, string sec