New Syntax | Old Syntax/Notes |
---|---|
#obj expression | unchanged |
#obj?expression | unchanged; possibly removed |
#obj.aProperty | #obj aProperty (assignment only) |
#obj.aMethod(args) | #obj aMethod(args) or #obj!aMethod(args) |
#obj.aMethod? | #obj aMethod? or #obj!aMethod? |
#obj!aKey | none |
aStruct.aMember | unchanged |
Subject: Changing how object members are accessed
I've grown tired of the limitations imposed by Carl's object member syntax, so I plan to change it to something a bit more standard. The biggest change is the requirement of a dot (.) to call any named member. The following table summarizes the changes.
Page 1 of 1
You can post new topics in this forumYou can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum