|
I would say it's quite the opposite.
A void function needs not go to the toilet as it can consume anything without return.
|
|
|
|
|
But if a void function doesn't do some I/O what is it's purpose?
What if the function of the function is voiding?
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
is it public?
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Depends on context
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
You mean toilet or function?
|
|
|
|
|
Yes
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Glad you clarified that...
|
|
|
|
|
Jarek Kruza wrote: Glad you clarified that...
Wanted to return true, but there was a string return instead of a bool ...
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Depends on whether you flush() before return?
New version: WinHeist Version 2.1.0
When you are dead you don't know it, it's only difficult for others.
It's the same when you're stupid.
|
|
|
|
|
Don't forget to prevent buffer overrun
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
Taken care of in the try...catch...finally
New version: WinHeist Version 2.1.0
When you are dead you don't know it, it's only difficult for others.
It's the same when you're stupid.
|
|
|
|
|
In this case I think the old VB On Error GoTo is preferable to a Catch block!
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
As long as he Disposes properly, I don't mind!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Every day, it's the same old subroutine...
"Go forth into the source" - Neal Morse
|
|
|
|
|
|
LMAO!
#SupportHeForShe If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
Shirley when one goes to the toilet, one never wants anything in return?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I generally give my grandkids a treat (potty training), so in general not never, but specifically, yes.
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
Hi Phil,
I agree with you.
It's a s**t,only a formality for a programmer.
|
|
|
|
|
Does the void function has | out | parameter ? | // Suppose language is C# |
Wonde Tadesse
|
|
|
|
|
1||2
"Go forth into the source" - Neal Morse
|
|
|
|
|
Can be both.
Wonde Tadesse
|
|
|
|
|
Wonde Tadesse wrote: Can be both.
Then, I suppose 1|2 should cover all the bases.
"Go forth into the source" - Neal Morse
|
|
|
|
|
+5 because, unlike a certain other poster, your thought of the day seems original - at least Google hadn't heard it before
PooperPig - Coming Soon
|
|
|
|
|