What do you use the if statement for?
Do you use while loops or for loops and what are the benefits?
Have any of you found a nifty way of using any of these statements?
If there is anything I'm missing put it on this thread. That way it becomes a big thread on statements!:)
thanks
The cornerstone of all programming. The if statement or conditional statement is what gives all software it's "intelligent" behavior. It's used in programs as a decision point.
If one thing is true, then do this, else do the other.
(on a zen note: after years of programming, you will reach programming Nirvana and realize that your life is just one big if then statement).
(I'll leave the LOOPs to someone else).
As for the While - I devised a nifty method of using ASP code to create HTML level breaks on reports. Very nice presentation.
But for me it all comes down to lots and lots of IF statements.