BAE 8 - Assessment: Adding fields to a case type
The first question in this assessment asks what property type .ItemOfLoss(1) is an example of, with the system stating the correct answer is Page list because "references to page list properties include an integer index value". The system states that Value list is incorrect because "value list references do not end with a property reference".
Maybe the correct answer's explanation is worded poorly, but it seems to say that Page list is correct because Page lists end with the integer index value. However, Value lists also can end with an integer index value, for example on page 171 of the BAE 8 student guide, the example for Value list is ".DiscountCode(1)".
Is this question wrong or am I missing something?
Thank you,
I do not know what that question is trying to get at, but...
if the distractor is written as just .ItemOfLoss(1) then it is definitely NOT an example of a Page list - because there is no page reference. Any reference to a page property would have to be comprised of PageName.PropertyName and, if it is a page list, and you want to refer to a specific item in that list, the reference would be: PageName(1).PropertyName (edited, had to fix a typo)
I'll get the question fixed ASAP.
eddie