Code Correction - Introduction to ECL - Module 24
In Tutorial #9, the suggested solution has a missing filter clause on Line 14:
Change:
To:
In the old code, we are also counting gender types that are "Unknown" or "None".
Thanks to Lorraine Hill in Dayton for catching this! Kudos!
Regards,
Bob
Change:
- Code: Select all
OlderFemaleinMStates := COUNT($.Persons(State IN $.SetMStates,OlderPersons)) -
COUNT($.MeninMStatesPersons(OlderPersons));
To:
- Code: Select all
OlderFemaleinMStates :=
COUNT($.Persons(State IN $.SetMStates,OlderPersons,Gender = 'F'));
In the old code, we are also counting gender types that are "Unknown" or "None".
Thanks to Lorraine Hill in Dayton for catching this! Kudos!
Regards,
Bob
- bforeman
- Community Advisory Board Member
- Posts: 1006
- Joined: Wed Jun 29, 2011 7:13 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest