ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

C# & Visual Studio Problem

<< < (3/6) > >>

Renegade:
It's just that section of code. Other sections (that I checked) seem fine.

So, I tried this...

I had that code arranged like this:


--- Code: C# ---if (false){  // old stuff}else{  // all the code was here... (new stuff I'm testing)} // I moved it all here...
WTF? It's normal again...

Has anyone heard of this kind of wonkiness before?

wraith808:
what was the condition in the if statement?

f0dder:
what was the condition in the if statement?
-wraith808 (January 15, 2011, 10:04 PM)
--- End quote ---
false? :)

Renegade:
what was the condition in the if statement?
-wraith808 (January 15, 2011, 10:04 PM)
--- End quote ---

Yes. Exactly that. "false". I was using the conditional to toggle old and new refactored code.

f0dder:
Could you try flipping it around so the new code goes in an "if(true)" and see if it affects things? Seems pretty queer to me.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version