My question is, would it be quicker to use the immediate if, or to use the

math functions on the Difficulty variable?

Difficulty is a byte becuase it will only ever be 0 or 5;

Filenames is a string;

TypeOfGame is a byte that can be 0 - 3.

These two statements are actually for different reasons, so don't try to

compare them, I just chose them arbitrairly becuase one used the IIF, and

the other used math.

FileNames = Format$(Index * IIf(Difficulty = 0, 100, 50) + IIf(Difficulty =

0, 100, 50), "000") & IIf(Difficulty = 0, "DN", "DE") & "-1.BMP"

If TypeOfGame Mod 2 = 0 Then FileNames = Format$(Index * (-(Difficulty * 10)

+ 100) + (-(Difficulty * 10) + 100), "000") & "D.BMP"

Thanks,

Bodi Klamph

Azure Dragon Software

begin 666 Bodi Klamph.vcf

M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..DML86UP:#M";V1I#0I&3CI"

M;V1I($ML86UP: T*14U!24P[4%)%1CM)3E1%4DY%5#I"2VQA;7!H0$%Z=7)E

`

end