Issue 6885: Improve the notation when defining local variables (ocl2-rtf) Source: France Telecom R&D (Mr. Mariano Belaunde, mariano.belaunde(at)orange.com) Nature: Uncategorized Issue Severity: Summary: This is to avoid using the unreadable and unfriendly "let … in …" notation. Suggestion: Use the result of a variable initialization as in: if (let c = self.address)="" then "UNKNOWN" else if c.includes(Set{"Irak","Afganifsthan"}) then "DANGEROUS" else "OK" endif endif endif … Resolution: Revised Text: Actions taken: January 7, 2004: received issue Discussion: This is a request to improve the language. Better solved in a RTF. End of Annotations:===== SSUE: Improve the notation when defining local variables. This is to avoid using the unreadable and unfriendly "let … in …" notation. Suggestion: Use the result of a variable initialization as in: if (let c = self.address)="" then "UNKNOWN" else if c.includes(Set{"Irak","Afganifsthan"}) then "DANGEROUS" else "OK" endif endif endif …