'elseif' versus 'else if' in MCQ30 questionnaire


Author
Message
Andrew Papale
Andrew Papale
Partner Member (996 reputation)Partner Member (996 reputation)Partner Member (996 reputation)Partner Member (996 reputation)Partner Member (996 reputation)Partner Member (996 reputation)Partner Member (996 reputation)Partner Member (996 reputation)Partner Member (996 reputation)
Group: Forum Members
Posts: 67, Visits: 239
Dave,

I discovered a disturbing behavior in one of my scripts today.  I had an incorrect elseif statement (should be else if, with a space).  The Inquisit compiler did not catch this and the script ran, but the items being stored in the lists and the currenttotal values were incorrect.  Here is the original (MCQ30_original.iqx) and corrected (MCQ30_corrected.iqx) script.  In my opinion, the original script should not have run and instead generated an error.

Thanks,
Andrew


Attachments
MCQ30_corrected.iqx (15 views, 22.00 KB)
MCQ30_original.iqx (18 views, 22.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search