|
whatever
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
Error An object reference is required for the non-static field, method, or property 'Coffee.IsEmpty.get'
The name '_programmer' does not exist in the current context.
Assuming that you have local variables prefixed with an underscore, then _programmer is never defined. If it's a member variable of some class or a global, then I reckon it should have a different naming convention.
You also call IsEmpty on the Coffee class rather than the instance of it, but maybe it has some static data associated with it. Everybody would be sharing the same coffee in that case.
I think I see what's happened though, halfway through programming the programming function you ran out of coffee. I can then only assume that there was an unhandled exception that left the programmer in an undefined state.
|
|
|
|
|
Is a void function going to the toilet and expecting nothing in return?
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
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
|
|
|
|