Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Allow object property assignment in class variable defs


  • Please log in to reply
No replies to this topic
fragman
  • Members
  • 1591 posts
  • Last active: Nov 12 2012 08:51 PM
  • Joined: 13 Oct 2009
Example:
class c
{
  object := {key : value}
  object.key := 5
}

Is there any reason for disallowing this?