FH> Also another question:
FH> Is it NOT recomended to have a for loop nested in a 'if' statement or it doesn't 
really matter.

It's more preferable to do this...

if (some_test){
    for (some_loop){
        # code
    }
}

Than this...

for (some_loop){
    if (some_test){
        # code
    }
}

Converting the second example to the first is generally seen as a Good Thing.

--nigel



This e-mail and any files transmitted with it are confidential 
and solely for the use of the intended recipient. 
ONdigital plc, 346 Queenstown Road, London SW8 4DG. Reg No: 3302715. 

Reply via email to