The Dink Network

Reply to Re: dinkc question

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
August 7th 2002, 06:14 PM
wizardg.gif
Paul
Peasant He/Him United States
 
: Nope, you would have to use nested loops (I assume you know what the means due to it looks like you've had some programming experience).

: --WC

What do you mean nested loops? I thought they asked about ifs.

WC's right though, you one comparison per if only.

For AND you use nested ifs, for OR you can use either two seperate ifs or set a flag like this:

&flag = 0;

if (&a == 1)

&flag = 1;

if (&b = 1)

&flag = 1;

if (&flag = 1)

{

//do stuff.

}