Try "then" like: if xxx in[yyy] then
John > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Alistair George > Sent: Friday, 20 December 2002 12:14 > To: Multiple recipients of list delphi > Subject: [DUG]: Conditional statement > > > Hi - is anyone still here?? > > I have a conditonal I have never used before. Please fill in the > blank following > lines as I cannot find any reference to using this IN > > if MessageDlg('ZIPfile exists. What do you want to do', > mtConfirmation, [mbYes, mbOK, mbCancel], 0) > in [mrYes, mrOk, mrCancel] // WHAT FOLLOWS HERE? how to use the > WORD results > example please. > > ------------------------------------------------------------------ > --------- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
